#CF2F38#CF2F38
#CF2F38 is a mid, vivid red. Relative luminance 0.156; OKLCH L 56.2% C 0.195 H 23.6°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).
Color values
| HEX | #CF2F38 |
|---|---|
| RGB | rgb(207, 47, 56) |
| HSL | hsl(357, 63%, 50%) |
| HSV | hsv(357, 77%, 81%) |
| CMYK | cmyk(0%, 77.3%, 72.9%, 18.8%) |
| CIE-LAB | lab(46.43, 61.47, 34.60) |
| CIE-LCH | lch(46.43, 70.54, 29.37°) |
| OKLab | oklab(56.2% 0.1791 0.0783) |
| OKLCH | oklch(56.2% 0.195 23.6) |
| XYZ | xyz(27.4657, 15.5883, 5.3033) |
| Luminance | 0.1558 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 2.86
Crimson
#DC143C
ΔE00 3.30
Dull Red
#BB3F3F
ΔE00 3.79
Cherry (survey)
#CF0234
ΔE00 3.83
Cardinal
#C41E3A
ΔE00 4.77
Faded Red
#D3494E
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF2F38 #2FCFC6
analogous
#CF2F88 #CF2F38 #CF762F
triadic
#CF2F38 #38CF2F #2F38CF
tetradic
#CF2F38 #88CF2F #2FCFC6 #762FCF
square
#CF2F38 #88CF2F #2FCFC6 #762FCF
split-complementary
#CF2F38 #2FCF76 #2F88CF
monochromatic
#6B181D #9D242B #CF2F38 #DB6067 #E69297
Accessibility & contrast
On white
5.10
#CF2F38 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.12
#CF2F38 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF2F38
5.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF2F38 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF2F38 | 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)
#605837
Deuteranopia (green-blind)
#887A32
Tritanopia (blue-blind)
#E40034
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cf2f38; /* rgb */ color: rgb(207, 47, 56); /* oklch */ color: oklch(56.2% 0.195 23.6);
Tailwind
colors: {
custom: {
50: '#e7766f',
500: '#cf2f38',
950: '#000000',
},
}SCSS
$custom: #cf2f38; $custom-light: #e7766f; $custom-dark: #000000;
JSON
{
"hex": "#cf2f38",
"rgb": {
"r": 207,
"g": 47,
"b": 56
},
"hsl": {
"h": 356.625,
"s": 62.992,
"l": 49.804
},
"oklch": {
"l": 0.56201,
"c": 0.19546,
"h": 23.6
},
"luminance": 0.15584
}Semantic roles & 50–950 ramp
primary
#CF2F38
secondary
#89D1CD
accent
#E6DD42
background
#FFF7F6
surface
#FFEEEC
border
#D7C9C7
text
#180907
muted
#867B7A