#CC302F#CC302F
#CC302F is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.6% C 0.193 H 26.4°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).
Color values
| HEX | #CC302F |
|---|---|
| RGB | rgb(204, 48, 47) |
| HSL | hsl(0, 63%, 49%) |
| HSV | hsv(0, 77%, 80%) |
| CMYK | cmyk(0%, 76.5%, 77%, 20%) |
| CIE-LAB | lab(45.85, 59.93, 38.95) |
| CIE-LCH | lch(45.85, 71.48, 33.02°) |
| OKLab | oklab(55.64% 0.1727 0.0858) |
| OKLCH | oklch(55.64% 0.193 26.4) |
| XYZ | xyz(26.4750, 15.1607, 4.2211) |
| Luminance | 0.1516 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.64
Dull Red
#BB3F3F
ΔE00 4.54
Cherry (survey)
#CF0234
ΔE00 5.40
Crimson
#DC143C
ΔE00 5.58
Scarlet
#BE0119
ΔE00 5.93
Firebrick
#B22222
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC302F #2FCBCC
analogous
#CC2F7D #CC302F #CC7F2F
triadic
#CC302F #2FCC30 #302FCC
tetradic
#CC302F #7DCC2F #2FCBCC #7F2FCC
square
#CC302F #7DCC2F #2FCBCC #7F2FCC
split-complementary
#CC302F #2FCC7F #2F7DCC
monochromatic
#691918 #9A2424 #CC302F #DA5F5E #E59190
Accessibility & contrast
On white
5.21
#CC302F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.03
#CC302F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC302F
5.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC302F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC302F | 1.00 | 5.21 | 4.03 | 5.21 |
| #FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#877928
Tritanopia (blue-blind)
#E10032
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #cc302f; /* rgb */ color: rgb(204, 48, 47); /* oklch */ color: oklch(55.6% 0.193 26.4);
Tailwind
colors: {
custom: {
50: '#e57668',
500: '#cc302f',
950: '#000000',
},
}SCSS
$custom: #cc302f; $custom-light: #e57668; $custom-dark: #000000;
JSON
{
"hex": "#cc302f",
"rgb": {
"r": 204,
"g": 48,
"b": 47
},
"hsl": {
"h": 0.382,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.55636,
"c": 0.1928,
"h": 26.4
},
"luminance": 0.15157
}Semantic roles & 50–950 ramp
primary
#CC302F
secondary
#87D0D0
accent
#E5E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A