#C04F8A#C04F8A
#C04F8A is a mid, vivid pink. Relative luminance 0.186; OKLCH L 59.2% C 0.158 H 350.5°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #C04F8A |
|---|---|
| RGB | rgb(192, 79, 138) |
| HSL | hsl(329, 47%, 53%) |
| HSV | hsv(329, 59%, 75%) |
| CMYK | cmyk(0%, 58.9%, 28.1%, 24.7%) |
| CIE-LAB | lab(50.26, 51.48, -10.00) |
| CIE-LCH | lch(50.26, 52.45, 349.00°) |
| OKLab | oklab(59.19% 0.156 -0.026) |
| OKLCH | oklch(59.19% 0.158 350.5) |
| XYZ | xyz(29.1229, 18.6362, 26.1032) |
| Luminance | 0.1863 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Darkish Pink
#DA467D
ΔE00 6.76
Light Plum
#9D5783
ΔE00 7.10
Mediumvioletred
#C71585
ΔE00 7.57
Purplish Pink
#CE5DAE
ΔE00 7.70
Dark Pink
#CB416B
ΔE00 8.34
Purpleish
#98568D
ΔE00 8.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C04F8A #4FC085
analogous
#BE4FC0 #C04F8A #C04F51
triadic
#C04F8A #8AC04F #4F8AC0
tetradic
#C04F8A #C0BE4F #4FC085 #4F51C0
square
#C04F8A #C0BE4F #4FC085 #4F51C0
split-complementary
#C04F8A #51C04F #4FC0BE
monochromatic
#6D274C #9A376B #C04F8A #D07CA8 #E0A9C6
Accessibility & contrast
On white
4.44
#C04F8A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.73
#C04F8A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C04F8A
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C04F8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C04F8A | 1.00 | 4.44 | 4.73 | 4.73 |
| #FFFFFF | 4.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D6B8C
Deuteranopia (green-blind)
#7C7F87
Tritanopia (blue-blind)
#CD4A66
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c04f8a; /* rgb */ color: rgb(192, 79, 138); /* oklch */ color: oklch(59.2% 0.158 350.5);
Tailwind
colors: {
custom: {
50: '#d686ac',
500: '#c04f8a',
950: '#000000',
},
}SCSS
$custom: #c04f8a; $custom-light: #d686ac; $custom-dark: #000000;
JSON
{
"hex": "#c04f8a",
"rgb": {
"r": 192,
"g": 79,
"b": 138
},
"hsl": {
"h": 328.673,
"s": 47.28,
"l": 53.137
},
"oklch": {
"l": 0.59193,
"c": 0.15818,
"h": 350.5
},
"luminance": 0.18633
}Semantic roles & 50–950 ramp
primary
#C04F8A
secondary
#9DCEB4
accent
#D79151
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F