#CB2E31#CB2E31
#CB2E31 is a mid, vivid red. Relative luminance 0.149; OKLCH L 55.3% C 0.193 H 25.4°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CB2E31 |
|---|---|
| RGB | rgb(203, 46, 49) |
| HSL | hsl(359, 63%, 49%) |
| HSV | hsv(359, 77%, 80%) |
| CMYK | cmyk(0%, 77.3%, 75.9%, 20.4%) |
| CIE-LAB | lab(45.46, 60.32, 37.35) |
| CIE-LCH | lch(45.46, 70.94, 31.76°) |
| OKLab | oklab(55.32% 0.1744 0.0829) |
| OKLCH | oklch(55.32% 0.193 25.4) |
| XYZ | xyz(26.1631, 14.8764, 4.3990) |
| Luminance | 0.1487 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.35
Dull Red
#BB3F3F
ΔE00 3.98
Cherry (survey)
#CF0234
ΔE00 4.51
Crimson
#DC143C
ΔE00 4.91
Cardinal
#C41E3A
ΔE00 5.47
Scarlet
#BE0119
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CB2E31 #2ECBC8
analogous
#CB2E7F #CB2E31 #CB7A2E
triadic
#CB2E31 #31CB2E #2E31CB
tetradic
#CB2E31 #7FCB2E #2ECBC8 #7A2ECB
square
#CB2E31 #7FCB2E #2ECBC8 #7A2ECB
split-complementary
#CB2E31 #2ECB7A #2E7FCB
monochromatic
#671719 #992325 #CB2E31 #DA5C5F #E58E90
Accessibility & contrast
On white
5.28
#CB2E31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.97
#CB2E31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CB2E31
5.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CB2E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CB2E31 | 1.00 | 5.28 | 3.97 | 5.28 |
| #FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.97 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F562F
Deuteranopia (green-blind)
#85782B
Tritanopia (blue-blind)
#E00031
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #cb2e31; /* rgb */ color: rgb(203, 46, 49); /* oklch */ color: oklch(55.3% 0.193 25.4);
Tailwind
colors: {
custom: {
50: '#e47569',
500: '#cb2e31',
950: '#000000',
},
}SCSS
$custom: #cb2e31; $custom-light: #e47569; $custom-dark: #000000;
JSON
{
"hex": "#cb2e31",
"rgb": {
"r": 203,
"g": 46,
"b": 49
},
"hsl": {
"h": 358.854,
"s": 63.052,
"l": 48.824
},
"oklch": {
"l": 0.55319,
"c": 0.19313,
"h": 25.4
},
"luminance": 0.14872
}Semantic roles & 50–950 ramp
primary
#CB2E31
secondary
#85D0CE
accent
#E6E342
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A