#B22939#B22939
#B22939 is a mid, vivid red. Relative luminance 0.113; OKLCH L 50.5% C 0.172 H 20.0°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #B22939 |
|---|---|
| RGB | rgb(178, 41, 57) |
| HSL | hsl(353, 63%, 43%) |
| HSV | hsv(353, 77%, 70%) |
| CMYK | cmyk(0%, 77%, 68%, 30.2%) |
| CIE-LAB | lab(40.16, 54.79, 25.15) |
| CIE-LCH | lch(40.16, 60.28, 24.66°) |
| OKLab | oklab(50.55% 0.1618 0.0591) |
| OKLCH | oklch(50.55% 0.172 20) |
| XYZ | xyz(19.8938, 11.3493, 5.0132) |
| Luminance | 0.1135 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 3.22
Lipstick Red
#C0022F
ΔE00 3.31
Rose Red
#BE013C
ΔE00 3.74
Rouge
#AB1239
ΔE00 4.31
Brown
#A52A2A
ΔE00 4.73
Dull Red
#BB3F3F
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22939 #29B2A2
analogous
#B2297D #B22939 #B25E29
triadic
#B22939 #39B229 #2939B2
tetradic
#B22939 #7DB229 #29B2A2 #5E29B2
square
#B22939 #7DB229 #29B2A2 #5E29B2
split-complementary
#B22939 #29B25E #297DB2
monochromatic
#4F1219 #801E29 #B22939 #D44455 #DF7682
Accessibility & contrast
On white
6.42
#B22939 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.27
#B22939 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22939
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22939 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22939 | 1.00 | 6.42 | 3.27 | 6.42 |
| #FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#514C39
Deuteranopia (green-blind)
#746935
Tritanopia (blue-blind)
#C40030
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #b22939; /* rgb */ color: rgb(178, 41, 57); /* oklch */ color: oklch(50.5% 0.172 20.0);
Tailwind
colors: {
custom: {
50: '#d16f6f',
500: '#b22939',
950: '#000000',
},
}SCSS
$custom: #b22939; $custom-light: #d16f6f; $custom-dark: #000000;
JSON
{
"hex": "#b22939",
"rgb": {
"r": 178,
"g": 41,
"b": 57
},
"hsl": {
"h": 352.993,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.50549,
"c": 0.17227,
"h": 20
},
"luminance": 0.11346
}Semantic roles & 50–950 ramp
primary
#B22939
secondary
#70C7BD
accent
#E6D342
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150807
muted
#837B7A