#CC312F#CC312F
#CC312F is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.7% C 0.192 H 26.6°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CC312F |
|---|---|
| RGB | rgb(204, 49, 47) |
| HSL | hsl(1, 63%, 49%) |
| HSV | hsv(1, 77%, 80%) |
| CMYK | cmyk(0%, 76%, 77%, 20%) |
| CIE-LAB | lab(45.97, 59.62, 39.07) |
| CIE-LCH | lch(45.97, 71.28, 33.24°) |
| OKLab | oklab(55.72% 0.1717 0.0861) |
| OKLCH | oklch(55.72% 0.192 26.6) |
| XYZ | xyz(26.5164, 15.2434, 4.2349) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.64
Dull Red
#BB3F3F
ΔE00 4.60
Cherry (survey)
#CF0234
ΔE00 5.58
Crimson
#DC143C
ΔE00 5.71
Scarlet
#BE0119
ΔE00 6.02
Firebrick
#B22222
ΔE00 6.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC312F #2FCACC
analogous
#CC2F7C #CC312F #CC7F2F
triadic
#CC312F #2FCC31 #312FCC
tetradic
#CC312F #7CCC2F #2FCACC #7F2FCC
square
#CC312F #7CCC2F #2FCACC #7F2FCC
split-complementary
#CC312F #2FCC7F #2F7CCC
monochromatic
#691918 #9A2524 #CC312F #DA605E #E59190
Accessibility & contrast
On white
5.19
#CC312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#CC312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC312F
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC312F | 1.00 | 5.19 | 4.05 | 5.19 |
| #FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#61572D
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#E10033
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #cc312f; /* rgb */ color: rgb(204, 49, 47); /* oklch */ color: oklch(55.7% 0.192 26.6);
Tailwind
colors: {
custom: {
50: '#e57668',
500: '#cc312f',
950: '#000000',
},
}SCSS
$custom: #cc312f; $custom-light: #e57668; $custom-dark: #000000;
JSON
{
"hex": "#cc312f",
"rgb": {
"r": 204,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.764,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.55719,
"c": 0.19203,
"h": 26.6
},
"luminance": 0.15239
}Semantic roles & 50–950 ramp
primary
#CC312F
secondary
#87CFD0
accent
#E4E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A