#C040A0#C040A0
#C040A0 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.4% C 0.193 H 339.2°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #C040A0 |
|---|---|
| RGB | rgb(192, 64, 160) |
| HSL | hsl(315, 50%, 50%) |
| HSV | hsv(315, 67%, 75%) |
| CMYK | cmyk(0%, 66.7%, 16.7%, 24.7%) |
| CIE-LAB | lab(48.78, 60.91, -25.37) |
| CIE-LCH | lch(48.78, 65.98, 337.39°) |
| OKLab | oklab(58.38% 0.1805 -0.0685) |
| OKLCH | oklch(58.38% 0.193 339.2) |
| XYZ | xyz(29.9174, 17.4140, 35.0365) |
| Luminance | 0.1741 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purpley Pink
#C83CB9
ΔE00 4.48
Pinky Purple
#C94CBE
ΔE00 5.92
Ugly Purple
#A442A0
ΔE00 5.93
Mediumvioletred
#C71585
ΔE00 6.62
Medium Purple
#9E43A2
ΔE00 7.30
Purplish Pink
#CE5DAE
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C040A0 #40C060
analogous
#A040C0 #C040A0 #C04060
triadic
#C040A0 #A0C040 #40A0C0
tetradic
#C040A0 #C0A040 #40C060 #4060C0
square
#C040A0 #C0A040 #40C060 #4060C0
split-complementary
#C040A0 #60C040 #40C0A0
monochromatic
#642154 #92307A #C040A0 #CF6EB7 #DE9CCE
Accessibility & contrast
On white
4.69
#C040A0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.48
#C040A0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C040A0
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C040A0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C040A0 | 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)
#4767A3
Deuteranopia (green-blind)
#6F7B9D
Tritanopia (blue-blind)
#CB446A
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #c040a0; /* rgb */ color: rgb(192, 64, 160); /* oklch */ color: oklch(58.4% 0.193 339.2);
Tailwind
colors: {
custom: {
50: '#d67ebc',
500: '#c040a0',
950: '#000000',
},
}SCSS
$custom: #c040a0; $custom-light: #d67ebc; $custom-dark: #000000;
JSON
{
"hex": "#c040a0",
"rgb": {
"r": 192,
"g": 64,
"b": 160
},
"hsl": {
"h": 315,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.58382,
"c": 0.19309,
"h": 339.2
},
"luminance": 0.17411
}Semantic roles & 50–950 ramp
primary
#C040A0
secondary
#91CBA0
accent
#DA714E
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B12
muted
#837C81