#ff0022
Color values Color notations — HEX (hexadecimal), RGB (light primaries), HSL (hue/saturation/lightness), CMYK (print inks, approximate).
- HEX
-
#ff0022 - RGB
-
rgb(255, 0, 34) - HSL
-
hsl(352, 100%, 50%) - OKLCH
-
oklch(62.9% 0.256 26.4) - CMYK
-
0% 100% 87% 0%
- Relative luminance Relative luminance: a color's brightness from 0 (black) to 1 (white). It is used to compute WCAG contrast.
- 0.2138
- Hue Hue: the kind of a color (red, orange, yellow…). We group the hue wheel into 12 sectors.
- Red
- Nearest name Nearest name: the closest CSS standard color name to this color.
- red
Contrast
| Ratio Contrast ratio: the brightness difference between two colors, from 1:1 to 21:1. Higher is easier to read. | APCA (Lc) APCA: a newer perceptual contrast measure from the WCAG 3 draft. Lc runs about 0–106; higher is easier to read. The sign shows polarity (dark text on light, or light on dark). | |
|---|---|---|
| As background | ||
| White text | 3.98:1 | -70 |
| Black text | 5.28:1 | 40 |
| As text | ||
| White background | 3.98:1 | 64 |
| Black background | 5.28:1 | -38 |
Color harmonies
Complementary Complementary: the opposite color on the wheel (180°). The two make each other pop.
Analogous Analogous: neighbors on the wheel (about ±15°). They make a cohesive palette.
Split complementary Split complementary: the two colors beside the complement (180° ± 30°). Softer than a straight complement.
Tetradic Tetradic: four colors evenly spaced 90° apart. Good for multi-accent palettes.
Shades & tints Shades & tints: lighter steps mixed toward white (tints) and darker steps mixed toward black (shades).
Impressions Impression: a tag for the mood a color evokes — warm, calm, vivid and so on.
Usage preview
As background (black text)
As background (white text)
As text (white background)
As text (black background)
Try a combination
Background Text