#CF312E#CF312E
#CF312E is a mid, vivid red. Relative luminance 0.157; OKLCH L 56.2% C 0.195 H 27.0°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #CF312E |
|---|---|
| RGB | rgb(207, 49, 46) |
| HSL | hsl(1, 64%, 50%) |
| HSV | hsv(1, 78%, 81%) |
| CMYK | cmyk(0%, 76.3%, 77.8%, 18.8%) |
| CIE-LAB | lab(46.53, 60.48, 40.40) |
| CIE-LCH | lch(46.53, 72.73, 33.74°) |
| OKLab | oklab(56.24% 0.1738 0.0885) |
| OKLCH | oklch(56.24% 0.195 27) |
| XYZ | xyz(27.3269, 15.6636, 4.1688) |
| Luminance | 0.1566 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 4.00
Dull Red
#BB3F3F
ΔE00 5.20
Crimson
#DC143C
ΔE00 5.92
Cherry (survey)
#CF0234
ΔE00 6.08
Scarlet
#BE0119
ΔE00 6.45
Cherry Red
#F7022A
ΔE00 6.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CF312E #2ECCCF
analogous
#CF2E7C #CF312E #CF822E
triadic
#CF312E #2ECF31 #312ECF
tetradic
#CF312E #7CCF2E #2ECCCF #822ECF
square
#CF312E #7CCF2E #2ECCCF #822ECF
split-complementary
#CF312E #2ECF82 #2E7CCF
monochromatic
#6B1918 #9D2523 #CF312E #DB615F #E79291
Accessibility & contrast
On white
5.08
#CF312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#CF312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CF312E
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CF312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CF312E | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#62582C
Deuteranopia (green-blind)
#897B27
Tritanopia (blue-blind)
#E40032
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #cf312e; /* rgb */ color: rgb(207, 49, 46); /* oklch */ color: oklch(56.2% 0.195 27.0);
Tailwind
colors: {
custom: {
50: '#e77668',
500: '#cf312e',
950: '#000000',
},
}SCSS
$custom: #cf312e; $custom-light: #e77668; $custom-dark: #000000;
JSON
{
"hex": "#cf312e",
"rgb": {
"r": 207,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.118,
"s": 63.636,
"l": 49.608
},
"oklch": {
"l": 0.56239,
"c": 0.19503,
"h": 27
},
"luminance": 0.15659
}Semantic roles & 50–950 ramp
primary
#CF312E
secondary
#88D0D1
accent
#E4E741
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A