#CC457E#CC457E
#CC457E is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.4% C 0.178 H 358.0°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #CC457E |
|---|---|
| RGB | rgb(204, 69, 126) |
| HSL | hsl(335, 57%, 54%) |
| HSV | hsv(335, 66%, 80%) |
| CMYK | cmyk(0%, 66.2%, 38.2%, 20%) |
| CIE-LAB | lab(50.22, 57.99, -2.66) |
| CIE-LCH | lch(50.22, 58.05, 357.38°) |
| OKLab | oklab(59.41% 0.1775 -0.0062) |
| OKLCH | oklch(59.41% 0.178 358) |
| XYZ | xyz(30.7978, 18.6036, 21.7036) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 3.36
Dark Pink
#CB416B
ΔE00 4.73
Deep Rose
#C74767
ΔE00 6.22
Dark Hot Pink
#D90166
ΔE00 6.82
Cerise
#DE0C62
ΔE00 7.57
Blush
#DE5D83
ΔE00 7.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CC457E #45CC93
analogous
#CC45C1 #CC457E #CC4F45
triadic
#CC457E #7ECC45 #457ECC
tetradic
#CC457E #C1CC45 #45CC93 #4F45CC
square
#CC457E #C1CC45 #45CC93 #4F45CC
split-complementary
#CC457E #45CC4F #45C1CC
monochromatic
#762045 #A62E61 #CC457E #D9759F #E6A5C1
Accessibility & contrast
On white
4.45
#CC457E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#CC457E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #CC457E
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CC457E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CC457E | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E6780
Deuteranopia (green-blind)
#83817B
Tritanopia (blue-blind)
#DC375C
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #cc457e; /* rgb */ color: rgb(204, 69, 126); /* oklch */ color: oklch(59.4% 0.178 358.0);
Tailwind
colors: {
custom: {
50: '#e081a3',
500: '#cc457e',
950: '#000000',
},
}SCSS
$custom: #cc457e; $custom-light: #e081a3; $custom-dark: #000000;
JSON
{
"hex": "#cc457e",
"rgb": {
"r": 204,
"g": 69,
"b": 126
},
"hsl": {
"h": 334.667,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.5941,
"c": 0.17759,
"h": 358
},
"luminance": 0.186
}Semantic roles & 50–950 ramp
primary
#CC457E
secondary
#99D3BB
accent
#E0A048
background
#FEF8FA
surface
#FDEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F