#B02242#B02242
#B02242 is a mid, vivid red. Relative luminance 0.108; OKLCH L 49.8% C 0.176 H 14.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #B02242 |
|---|---|
| RGB | rgb(176, 34, 66) |
| HSL | hsl(346, 68%, 41%) |
| HSV | hsv(346, 81%, 69%) |
| CMYK | cmyk(0%, 80.7%, 62.5%, 31%) |
| CIE-LAB | lab(39.19, 56.81, 18.18) |
| CIE-LCH | lch(39.19, 59.65, 17.75°) |
| OKLab | oklab(49.81% 0.1705 0.0442) |
| OKLCH | oklch(49.81% 0.176 14.5) |
| XYZ | xyz(19.4620, 10.7705, 6.2073) |
| Luminance | 0.1077 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rouge
#AB1239
ΔE00 2.37
Rose Red
#BE013C
ΔE00 2.96
Ruby
#CA0147
ΔE00 4.54
Raspberry (survey)
#B00149
ΔE00 4.57
Purplish Red
#B0054B
ΔE00 4.88
Cranberry
#9E003A
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B02242 #22B090
analogous
#B02289 #B02242 #B04922
triadic
#B02242 #42B022 #2242B0
tetradic
#B02242 #89B022 #22B090 #4922B0
square
#B02242 #89B022 #22B090 #4922B0
split-complementary
#B02242 #22B049 #2289B0
monochromatic
#490E1C #7D182F #B02242 #D8375B #E26A85
Accessibility & contrast
On white
6.66
#B02242 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.15
#B02242 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B02242
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B02242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B02242 | 1.00 | 6.66 | 3.15 | 6.66 |
| #FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4C4A42
Deuteranopia (green-blind)
#70673E
Tritanopia (blue-blind)
#C10030
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b02242; /* rgb */ color: rgb(176, 34, 66); /* oklch */ color: oklch(49.8% 0.176 14.5);
Tailwind
colors: {
custom: {
50: '#cf6c76',
500: '#b02242',
950: '#000000',
},
}SCSS
$custom: #b02242; $custom-light: #cf6c76; $custom-dark: #000000;
JSON
{
"hex": "#b02242",
"rgb": {
"r": 176,
"g": 34,
"b": 66
},
"hsl": {
"h": 346.479,
"s": 67.619,
"l": 41.176
},
"oklch": {
"l": 0.49812,
"c": 0.17614,
"h": 14.5
},
"luminance": 0.10768
}Semantic roles & 50–950 ramp
primary
#B02242
secondary
#66C8B2
accent
#EAC33D
background
#FDF6F7
surface
#FBECED
border
#D4C7C8
text
#150808
muted
#837A7B