#C64A8F#C64A8F
#C64A8F is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.7% C 0.173 H 349.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #C64A8F |
|---|---|
| RGB | rgb(198, 74, 143) |
| HSL | hsl(327, 52%, 53%) |
| HSV | hsv(327, 63%, 78%) |
| CMYK | cmyk(0%, 62.6%, 27.8%, 22.4%) |
| CIE-LAB | lab(50.56, 56.16, -12.44) |
| CIE-LCH | lch(50.56, 57.52, 347.51°) |
| OKLab | oklab(59.66% 0.1703 -0.0325) |
| OKLCH | oklch(59.66% 0.173 349.2) |
| XYZ | xyz(30.6967, 18.8896, 28.0107) |
| Luminance | 0.1889 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mediumvioletred
#C71585
ΔE00 6.87
Purplish Pink
#CE5DAE
ΔE00 6.91
Darkish Pink
#DA467D
ΔE00 6.98
Light Plum
#9D5783
ΔE00 8.16
Pale Magenta
#D767AD
ΔE00 8.51
Magenta (survey)
#C20078
ΔE00 8.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C64A8F #4AC681
analogous
#BF4AC6 #C64A8F #C64A51
triadic
#C64A8F #8FC64A #4A8FC6
tetradic
#C64A8F #C6BF4A #4AC681 #4A51C6
square
#C64A8F #C6BF4A #4AC681 #4A51C6
split-complementary
#C64A8F #51C64A #4AC6BF
monochromatic
#72244F #A03270 #C64A8F #D579AC #E3A7C9
Accessibility & contrast
On white
4.40
#C64A8F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#C64A8F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C64A8F
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C64A8F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C64A8F | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A6B91
Deuteranopia (green-blind)
#7D808C
Tritanopia (blue-blind)
#D34566
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #c64a8f; /* rgb */ color: rgb(198, 74, 143); /* oklch */ color: oklch(59.7% 0.173 349.2);
Tailwind
colors: {
custom: {
50: '#db84af',
500: '#c64a8f',
950: '#000000',
},
}SCSS
$custom: #c64a8f; $custom-light: #db84af; $custom-dark: #000000;
JSON
{
"hex": "#c64a8f",
"rgb": {
"r": 198,
"g": 74,
"b": 143
},
"hsl": {
"h": 326.613,
"s": 52.101,
"l": 53.333
},
"oklch": {
"l": 0.59656,
"c": 0.17339,
"h": 349.2
},
"luminance": 0.18886
}Semantic roles & 50–950 ramp
primary
#C64A8F
secondary
#9BD1B3
accent
#DC8C4C
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F