#CC2F2F#CC2F2F
#CC2F2F is a mid, vivid red. Relative luminance 0.151; OKLCH L 55.6% C 0.194 H 26.2°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).
Color values
| HEX | #CC2F2F |
|---|---|
| RGB | rgb(204, 47, 47) |
| HSL | hsl(0, 63%, 49%) |
| HSV | hsv(0, 77%, 80%) |
| CMYK | cmyk(0%, 77%, 77%, 20%) |
| CIE-LAB | lab(45.74, 60.24, 38.84) |
| CIE-LCH | lch(45.74, 71.67, 32.81°) |
| OKLab | oklab(55.55% 0.1736 0.0856) |
| OKLCH | oklch(55.55% 0.194 26.2) |
| XYZ | xyz(26.4346, 15.0798, 4.2076) |
| Luminance | 0.1508 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 3.65
Dull Red
#BB3F3F
ΔE00 4.49
Cherry (survey)
#CF0234
ΔE00 5.22
Crimson
#DC143C
ΔE00 5.45
Scarlet
#BE0119
ΔE00 5.84
Firebrick
#B22222
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC2F2F #2FCCCC
analogous
#CC2F7E #CC2F2F #CC7E2F
triadic
#CC2F2F #2FCC2F #2F2FCC
tetradic
#CC2F2F #7ECC2F #2FCCCC #7E2FCC
square
#CC2F2F #7ECC2F #2FCCCC #7E2FCC
split-complementary
#CC2F2F #2FCC7E #2F7ECC
monochromatic
#691818 #9A2424 #CC2F2F #DA5E5E #E59090
Accessibility & contrast
On white
5.23
#CC2F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.02
#CC2F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC2F2F
5.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC2F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC2F2F | 1.00 | 5.23 | 4.02 | 5.23 |
| #FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#867928
Tritanopia (blue-blind)
#E10031
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #cc2f2f; /* rgb */ color: rgb(204, 47, 47); /* oklch */ color: oklch(55.6% 0.194 26.2);
Tailwind
colors: {
custom: {
50: '#e57568',
500: '#cc2f2f',
950: '#000000',
},
}SCSS
$custom: #cc2f2f; $custom-light: #e57568; $custom-dark: #000000;
JSON
{
"hex": "#cc2f2f",
"rgb": {
"r": 204,
"g": 47,
"b": 47
},
"hsl": {
"h": 0,
"s": 62.55,
"l": 49.216
},
"oklch": {
"l": 0.55554,
"c": 0.19356,
"h": 26.2
},
"luminance": 0.15076
}Semantic roles & 50–950 ramp
primary
#CC2F2F
secondary
#87D0D0
accent
#E6E642
background
#FFF7F6
surface
#FFEEEB
border
#D7C9C6
text
#180906
muted
#867B7A