#CC4062#CC4062
#CC4062 is a mid, vivid red. Relative luminance 0.174; OKLCH L 58.1% C 0.177 H 10.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #CC4062 |
|---|---|
| RGB | rgb(204, 64, 98) |
| HSL | hsl(345, 58%, 53%) |
| HSV | hsv(345, 69%, 80%) |
| CMYK | cmyk(0%, 68.6%, 52%, 20%) |
| CIE-LAB | lab(48.75, 57.30, 12.19) |
| CIE-LCH | lch(48.75, 58.58, 12.01°) |
| OKLab | oklab(58.07% 0.1738 0.0311) |
| OKLCH | oklch(58.07% 0.177 10.1) |
| XYZ | xyz(28.9424, 17.3899, 13.3854) |
| Luminance | 0.1739 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Deep Rose
#C74767
ΔE00 1.62
Dark Pink
#CB416B
ΔE00 2.60
Cherry
#DE3163
ΔE00 3.09
Dark Rose
#B5485D
ΔE00 4.35
Raspberry
#E30B5C
ΔE00 4.54
Cerise
#DE0C62
ΔE00 4.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC4062 #40CCAA
analogous
#CC40A8 #CC4062 #CC6440
triadic
#CC4062 #62CC40 #4062CC
tetradic
#CC4062 #A8CC40 #40CCAA #6440CC
square
#CC4062 #A8CC40 #40CCAA #6440CC
split-complementary
#CC4062 #40CC64 #40A8CC
monochromatic
#731F33 #A32C49 #CC4062 #D9708A #E6A1B1
Accessibility & contrast
On white
4.69
#CC4062 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#CC4062 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #CC4062
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC4062 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##CC4062 | 1.00 | 4.69 | 4.48 | 4.69 |
| #FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.48 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#626263
Deuteranopia (green-blind)
#867E5F
Tritanopia (blue-blind)
#DE254E
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #cc4062; /* rgb */ color: rgb(204, 64, 98); /* oklch */ color: oklch(58.1% 0.177 10.1);
Tailwind
colors: {
custom: {
50: '#e27e8e',
500: '#cc4062',
950: '#000000',
},
}SCSS
$custom: #cc4062; $custom-light: #e27e8e; $custom-dark: #000000;
JSON
{
"hex": "#cc4062",
"rgb": {
"r": 204,
"g": 64,
"b": 98
},
"hsl": {
"h": 345.429,
"s": 57.851,
"l": 52.549
},
"oklch": {
"l": 0.58071,
"c": 0.17657,
"h": 10.1
},
"luminance": 0.17386
}Semantic roles & 50–950 ramp
primary
#CC4062
secondary
#95D2C4
accent
#E1BC47
background
#FEF8F8
surface
#FDEFF0
border
#D5CACB
text
#160B0C
muted
#847C7D