#CF3031#CF3031
#CF3031 is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.2% C 0.195 H 25.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CF3031 |
|---|---|
| RGB | rgb(207, 48, 49) |
| HSL | hsl(360, 62%, 50%) |
| HSV | hsv(360, 77%, 81%) |
| CMYK | cmyk(0%, 76.8%, 76.3%, 18.8%) |
| CIE-LAB | lab(46.45, 60.89, 38.64) |
| CIE-LCH | lch(46.45, 72.12, 32.40°) |
| OKLab | oklab(56.19% 0.1758 0.0855) |
| OKLCH | oklch(56.19% 0.195 25.9) |
| XYZ | xyz(27.3467, 15.6054, 4.4774) |
| Luminance | 0.1560 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.46
Dull Red
#BB3F3F
ΔE00 4.62
Crimson
#DC143C
ΔE00 5.04
Cherry (survey)
#CF0234
ΔE00 5.26
Cardinal
#C41E3A
ΔE00 6.37
Faded Red
#D3494E
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF3031 #30CFCE
analogous
#CF3080 #CF3031 #CF7F30
triadic
#CF3031 #31CF30 #3031CF
tetradic
#CF3031 #80CF30 #30CFCE #7F30CF
square
#CF3031 #80CF30 #30CFCE #7F30CF
split-complementary
#CF3031 #30CF7F #3080CF
monochromatic
#6C1919 #9D2425 #CF3031 #DB6262 #E69394
Accessibility & contrast
On white
5.10
#CF3031 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#CF3031 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF3031
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF3031 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF3031 | 1.00 | 5.10 | 4.12 | 5.10 |
| #FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61582F
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#E40033
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cf3031; /* rgb */ color: rgb(207, 48, 49); /* oklch */ color: oklch(56.2% 0.195 25.9);
Tailwind
colors: {
custom: {
50: '#e7766a',
500: '#cf3031',
950: '#000000',
},
}SCSS
$custom: #cf3031; $custom-light: #e7766a; $custom-dark: #000000;
JSON
{
"hex": "#cf3031",
"rgb": {
"r": 207,
"g": 48,
"b": 49
},
"hsl": {
"h": 359.623,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.56191,
"c": 0.19543,
"h": 25.9
},
"luminance": 0.15601
}Semantic roles & 50–950 ramp
primary
#CF3031
secondary
#8AD1D1
accent
#E5E442
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A