#CF2D31#CF2D31
#CF2D31 is a mid, vivid red. Relative luminance 0.154; OKLCH L 56.0% C 0.198 H 25.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2D31 |
|---|---|
| RGB | rgb(207, 45, 49) |
| HSL | hsl(359, 64%, 49%) |
| HSV | hsv(359, 78%, 81%) |
| CMYK | cmyk(0%, 78.3%, 76.3%, 18.8%) |
| CIE-LAB | lab(46.13, 61.79, 38.30) |
| CIE-LCH | lch(46.13, 72.69, 31.79°) |
| OKLab | oklab(55.96% 0.1786 0.0847) |
| OKLCH | oklch(55.96% 0.198 25.4) |
| XYZ | xyz(27.2282, 15.3683, 4.4378) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.51
Dull Red
#BB3F3F
ΔE00 4.49
Crimson
#DC143C
ΔE00 4.66
Cherry (survey)
#CF0234
ΔE00 4.73
Cardinal
#C41E3A
ΔE00 5.89
Scarlet
#BE0119
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2D31 #2DCFCB
analogous
#CF2D82 #CF2D31 #CF7A2D
triadic
#CF2D31 #31CF2D #2D31CF
tetradic
#CF2D31 #82CF2D #2DCFCB #7A2DCF
square
#CF2D31 #82CF2D #2DCFCB #7A2DCF
split-complementary
#CF2D31 #2DCF7A #2D82CF
monochromatic
#6A1719 #9D2225 #CF2D31 #DC5D60 #E79092
Accessibility & contrast
On white
5.16
#CF2D31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#CF2D31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF2D31
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2D31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF2D31 | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572F
Deuteranopia (green-blind)
#887A2A
Tritanopia (blue-blind)
#E40031
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #cf2d31; /* rgb */ color: rgb(207, 45, 49); /* oklch */ color: oklch(56.0% 0.198 25.4);
Tailwind
colors: {
custom: {
50: '#e7756a',
500: '#cf2d31',
950: '#000000',
},
}SCSS
$custom: #cf2d31; $custom-light: #e7756a; $custom-dark: #000000;
JSON
{
"hex": "#cf2d31",
"rgb": {
"r": 207,
"g": 45,
"b": 49
},
"hsl": {
"h": 358.519,
"s": 64.286,
"l": 49.412
},
"oklch": {
"l": 0.55955,
"c": 0.19764,
"h": 25.4
},
"luminance": 0.15364
}Semantic roles & 50–950 ramp
primary
#CF2D31
secondary
#87D1CF
accent
#E7E341
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A