#C04074#C04074
#C04074 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.7% C 0.169 H 359.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).
Color values
| HEX | #C04074 |
|---|---|
| RGB | rgb(192, 64, 116) |
| HSL | hsl(336, 50%, 50%) |
| HSV | hsv(336, 67%, 75%) |
| CMYK | cmyk(0%, 66.7%, 39.6%, 24.7%) |
| CIE-LAB | lab(47.15, 55.35, -1.34) |
| CIE-LCH | lch(47.15, 55.37, 358.61°) |
| OKLab | oklab(56.66% 0.1694 -0.0028) |
| OKLCH | oklch(56.66% 0.169 359) |
| XYZ | xyz(26.7258, 16.1374, 18.2270) |
| Luminance | 0.1613 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Pink
#CB416B
ΔE00 4.36
Deep Rose
#C74767
ΔE00 5.71
Deep Pink
#CB0162
ΔE00 5.90
Darkish Pink
#DA467D
ΔE00 5.99
Dark Hot Pink
#D90166
ΔE00 6.00
Magenta (survey)
#C20078
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04074 #40C08C
analogous
#C040B4 #C04074 #C04C40
triadic
#C04074 #74C040 #4074C0
tetradic
#C04074 #B4C040 #40C08C #4C40C0
square
#C04074 #B4C040 #40C08C #4C40C0
split-complementary
#C04074 #40C04C #40B4C0
monochromatic
#64213C #923058 #C04074 #CF6E95 #DE9CB7
Accessibility & contrast
On white
4.97
#C04074 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#C04074 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #C04074
4.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04074 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##C04074 | 1.00 | 4.97 | 4.23 | 4.97 |
| #FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#586075
Deuteranopia (green-blind)
#7B7971
Tritanopia (blue-blind)
#CF3255
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #c04074; /* rgb */ color: rgb(192, 64, 116); /* oklch */ color: oklch(56.7% 0.169 359.0);
Tailwind
colors: {
custom: {
50: '#d87d9b',
500: '#c04074',
950: '#000000',
},
}SCSS
$custom: #c04074; $custom-light: #d87d9b; $custom-dark: #000000;
JSON
{
"hex": "#c04074",
"rgb": {
"r": 192,
"g": 64,
"b": 116
},
"hsl": {
"h": 335.625,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.56658,
"c": 0.16944,
"h": 359
},
"luminance": 0.16134
}Semantic roles & 50–950 ramp
primary
#C04074
secondary
#91CBB3
accent
#DAA14E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E