#CC2D4C#CC2D4C
#CC2D4C is a mid, vivid red. Relative luminance 0.152; OKLCH L 55.9% C 0.193 H 15.9°. Best body text is #FFFFFF at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #CC2D4C |
|---|---|
| RGB | rgb(204, 45, 76) |
| HSL | hsl(348, 64%, 49%) |
| HSV | hsv(348, 78%, 80%) |
| CMYK | cmyk(0%, 77.9%, 62.7%, 20%) |
| CIE-LAB | lab(45.96, 62.21, 21.86) |
| CIE-LCH | lch(45.96, 65.94, 19.37°) |
| OKLab | oklab(55.85% 0.1861 0.0529) |
| OKLCH | oklch(55.85% 0.193 15.9) |
| XYZ | xyz(27.1476, 15.2400, 8.3482) |
| Luminance | 0.1524 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Lipstick
#D5174E
ΔE00 2.22
Ruby
#CA0147
ΔE00 3.65
Cardinal
#C41E3A
ΔE00 4.37
Crimson
#DC143C
ΔE00 4.90
Dusty Red
#B9484E
ΔE00 4.99
Cherry (survey)
#CF0234
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC2D4C #2DCCAD
analogous
#CC2D9C #CC2D4C #CC5E2D
triadic
#CC2D4C #4CCC2D #2D4CCC
tetradic
#CC2D4C #9CCC2D #2DCCAD #5E2DCC
square
#CC2D4C #9CCC2D #2DCCAD #5E2DCC
split-complementary
#CC2D4C #2DCC5E #2D9CCC
monochromatic
#681727 #9A2239 #CC2D4C #DB5B74 #E68D9F
Accessibility & contrast
On white
5.19
#CC2D4C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#CC2D4C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC2D4C
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC2D4C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC2D4C | 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)
#5B584C
Deuteranopia (green-blind)
#837948
Tritanopia (blue-blind)
#E0003A
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #cc2d4c; /* rgb */ color: rgb(204, 45, 76); /* oklch */ color: oklch(55.9% 0.193 15.9);
Tailwind
colors: {
custom: {
50: '#e3757d',
500: '#cc2d4c',
950: '#000000',
},
}SCSS
$custom: #cc2d4c; $custom-light: #e3757d; $custom-dark: #000000;
JSON
{
"hex": "#cc2d4c",
"rgb": {
"r": 204,
"g": 45,
"b": 76
},
"hsl": {
"h": 348.302,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.55854,
"c": 0.19343,
"h": 15.9
},
"luminance": 0.15236
}Semantic roles & 50–950 ramp
primary
#CC2D4C
secondary
#85D0C1
accent
#E7C741
background
#FFF7F7
surface
#FEEEEE
border
#D6C9C9
text
#170909
muted
#857B7B