#CF2E31#CF2E31
#CF2E31 is a mid, vivid red. Relative luminance 0.154; OKLCH L 56.0% C 0.197 H 25.6°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2E31 |
|---|---|
| RGB | rgb(207, 46, 49) |
| HSL | hsl(359, 64%, 50%) |
| HSV | hsv(359, 78%, 81%) |
| CMYK | cmyk(0%, 77.8%, 76.3%, 18.8%) |
| CIE-LAB | lab(46.24, 61.49, 38.41) |
| CIE-LCH | lch(46.24, 72.51, 31.99°) |
| OKLab | oklab(56.03% 0.1777 0.085) |
| OKLCH | oklch(56.03% 0.197 25.6) |
| XYZ | xyz(27.2668, 15.4455, 4.4507) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.48
Dull Red
#BB3F3F
ΔE00 4.53
Crimson
#DC143C
ΔE00 4.78
Cherry (survey)
#CF0234
ΔE00 4.91
Cardinal
#C41E3A
ΔE00 6.05
Scarlet
#BE0119
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2E31 #2ECFCC
analogous
#CF2E82 #CF2E31 #CF7C2E
triadic
#CF2E31 #31CF2E #2E31CF
tetradic
#CF2E31 #82CF2E #2ECFCC #7C2ECF
square
#CF2E31 #82CF2E #2ECFCC #7C2ECF
split-complementary
#CF2E31 #2ECF7C #2E82CF
monochromatic
#6B1819 #9D2325 #CF2E31 #DB5F61 #E79192
Accessibility & contrast
On white
5.14
#CF2E31 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#CF2E31 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF2E31
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2E31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF2E31 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 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: #cf2e31; /* rgb */ color: rgb(207, 46, 49); /* oklch */ color: oklch(56.0% 0.197 25.6);
Tailwind
colors: {
custom: {
50: '#e7756a',
500: '#cf2e31',
950: '#000000',
},
}SCSS
$custom: #cf2e31; $custom-light: #e7756a; $custom-dark: #000000;
JSON
{
"hex": "#cf2e31",
"rgb": {
"r": 207,
"g": 46,
"b": 49
},
"hsl": {
"h": 358.882,
"s": 63.636,
"l": 49.608
},
"oklch": {
"l": 0.56032,
"c": 0.19692,
"h": 25.6
},
"luminance": 0.15441
}Semantic roles & 50–950 ramp
primary
#CF2E31
secondary
#88D1D0
accent
#E7E441
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A