#C04066#C04066
#C04066 is a mid, vivid pink. Relative luminance 0.158; OKLCH L 56.2% C 0.165 H 6.1°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #C04066 |
|---|---|
| RGB | rgb(192, 64, 102) |
| HSL | hsl(342, 50%, 50%) |
| HSV | hsv(342, 67%, 75%) |
| CMYK | cmyk(0%, 66.7%, 46.9%, 24.7%) |
| CIE-LAB | lab(46.76, 53.95, 6.65) |
| CIE-LCH | lch(46.76, 54.36, 7.02°) |
| OKLab | oklab(56.23% 0.1645 0.0175) |
| OKLCH | oklch(56.23% 0.165 6.1) |
| XYZ | xyz(25.9719, 15.8358, 14.2567) |
| Luminance | 0.1583 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 2.36
Deep Rose
#C74767
ΔE00 2.69
Dark Rose
#B5485D
ΔE00 3.71
Light Burgundy
#A8415B
ΔE00 4.94
Dark Hot Pink
#D90166
ΔE00 5.27
Deep Pink
#CB0162
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04066 #40C09A
analogous
#C040A6 #C04066 #C05A40
triadic
#C04066 #66C040 #4066C0
tetradic
#C04066 #A6C040 #40C09A #5A40C0
square
#C04066 #A6C040 #40C09A #5A40C0
split-complementary
#C04066 #40C05A #40A6C0
monochromatic
#642135 #92304D #C04066 #CF6E8B #DE9CB0
Accessibility & contrast
On white
5.04
#C04066 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#C04066 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04066
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04066 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04066 | 1.00 | 5.04 | 4.17 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5F67
Deuteranopia (green-blind)
#7E7863
Tritanopia (blue-blind)
#D02D4F
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #c04066; /* rgb */ color: rgb(192, 64, 102); /* oklch */ color: oklch(56.2% 0.165 6.1);
Tailwind
colors: {
custom: {
50: '#d87d91',
500: '#c04066',
950: '#000000',
},
}SCSS
$custom: #c04066; $custom-light: #d87d91; $custom-dark: #000000;
JSON
{
"hex": "#c04066",
"rgb": {
"r": 192,
"g": 64,
"b": 102
},
"hsl": {
"h": 342.188,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.56234,
"c": 0.16542,
"h": 6.1
},
"luminance": 0.15833
}Semantic roles & 50–950 ramp
primary
#C04066
secondary
#91CBBA
accent
#DAB04E
background
#FDF7F8
surface
#FBEEF0
border
#D4C9CB
text
#150A0C
muted
#837C7D