#C64FAC#C64FAC
#C64FAC is a mid, vivid pink. Relative luminance 0.206; OKLCH L 61.4% C 0.185 H 337.1°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).
Color values
| HEX | #C64FAC |
|---|---|
| RGB | rgb(198, 79, 172) |
| HSL | hsl(313, 51%, 54%) |
| HSV | hsv(313, 60%, 78%) |
| CMYK | cmyk(0%, 60.1%, 13.1%, 22.4%) |
| CIE-LAB | lab(52.49, 58.10, -26.61) |
| CIE-LCH | lch(52.49, 63.91, 335.39°) |
| OKLab | oklab(61.45% 0.1703 -0.072) |
| OKLCH | oklch(61.45% 0.185 337.1) |
| XYZ | xyz(33.5315, 20.5790, 41.2278) |
| Luminance | 0.2058 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Pinky Purple
#C94CBE
ΔE00 3.38
Purplish Pink
#CE5DAE
ΔE00 3.90
Purpley Pink
#C83CB9
ΔE00 4.19
Purpleish Pink
#DF4EC8
ΔE00 5.77
Pinkish Purple
#D648D7
ΔE00 7.23
Pale Magenta
#D767AD
ΔE00 7.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#C64FAC #4FC669
analogous
#A54FC6 #C64FAC #C64F71
triadic
#C64FAC #ACC64F #4FACC6
tetradic
#C64FAC #C6A54F #4FC669 #4F71C6
square
#C64FAC #C6A54F #4FC669 #4F71C6
split-complementary
#C64FAC #71C64F #4FC6A5
monochromatic
#752664 #A3358B #C64FAC #D57DC2 #E4ABD8
Accessibility & contrast
On white
4.11
#C64FAC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.12
#C64FAC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #C64FAC
5.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##C64FAC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##C64FAC | 1.00 | 4.11 | 5.12 | 5.12 |
| #FFFFFF | 4.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5272AF
Deuteranopia (green-blind)
#7684A9
Tritanopia (blue-blind)
#D05476
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #c64fac; /* rgb */ color: rgb(198, 79, 172); /* oklch */ color: oklch(61.4% 0.185 337.1);
Tailwind
colors: {
custom: {
50: '#da87c5',
500: '#c64fac',
950: '#000000',
},
}SCSS
$custom: #c64fac; $custom-light: #da87c5; $custom-dark: #000000;
JSON
{
"hex": "#c64fac",
"rgb": {
"r": 198,
"g": 79,
"b": 172
},
"hsl": {
"h": 313.109,
"s": 51.073,
"l": 54.314
},
"oklch": {
"l": 0.61447,
"c": 0.18487,
"h": 337.1
},
"luminance": 0.20576
}Semantic roles & 50–950 ramp
primary
#C64FAC
secondary
#9FD2AA
accent
#DB6C4D
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82