#B22542#B22542
#B22542 is a mid, vivid red. Relative luminance 0.112; OKLCH L 50.4% C 0.176 H 15.4°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #B22542 |
|---|---|
| RGB | rgb(178, 37, 66) |
| HSL | hsl(348, 66%, 42%) |
| HSV | hsv(348, 79%, 70%) |
| CMYK | cmyk(0%, 79.2%, 62.9%, 30.2%) |
| CIE-LAB | lab(39.89, 56.53, 19.18) |
| CIE-LCH | lch(39.89, 59.69, 18.74°) |
| OKLab | oklab(50.4% 0.1693 0.0465) |
| OKLCH | oklch(50.4% 0.176 15.4) |
| XYZ | xyz(20.0072, 11.1845, 6.2585) |
| Luminance | 0.1118 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rose Red
#BE013C
ΔE00 2.65
Rouge
#AB1239
ΔE00 2.81
Ruby
#CA0147
ΔE00 4.23
Cardinal
#C41E3A
ΔE00 4.82
Raspberry (survey)
#B00149
ΔE00 5.30
Purplish Red
#B0054B
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B22542 #25B295
analogous
#B22588 #B22542 #B24F25
triadic
#B22542 #42B225 #2542B2
tetradic
#B22542 #88B225 #25B295 #4F25B2
square
#B22542 #88B225 #25B295 #4F25B2
split-complementary
#B22542 #25B24F #2588B2
monochromatic
#4D101C #7F1A2F #B22542 #D73D5D #E17087
Accessibility & contrast
On white
6.49
#B22542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#B22542 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B22542
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B22542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B22542 | 1.00 | 6.49 | 3.24 | 6.49 |
| #FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E4B42
Deuteranopia (green-blind)
#72683E
Tritanopia (blue-blind)
#C30032
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #b22542; /* rgb */ color: rgb(178, 37, 66); /* oklch */ color: oklch(50.4% 0.176 15.4);
Tailwind
colors: {
custom: {
50: '#d06e76',
500: '#b22542',
950: '#000000',
},
}SCSS
$custom: #b22542; $custom-light: #d06e76; $custom-dark: #000000;
JSON
{
"hex": "#b22542",
"rgb": {
"r": 178,
"g": 37,
"b": 66
},
"hsl": {
"h": 347.66,
"s": 65.581,
"l": 42.157
},
"oklch": {
"l": 0.50399,
"c": 0.17557,
"h": 15.4
},
"luminance": 0.11181
}Semantic roles & 50–950 ramp
primary
#B22542
secondary
#6BC8B5
accent
#E9C63F
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150808
muted
#837B7B