#640F51#640F51
#640F51 is a dark, vivid pink. Relative luminance 0.036; OKLCH L 35.0% C 0.137 H 339.3°. Best body text is #FFFFFF at 12.15:1 contrast (WCAG AA passes).
Color values
| HEX | #640F51 |
|---|---|
| RGB | rgb(100, 15, 81) |
| HSL | hsl(313, 74%, 23%) |
| HSV | hsv(313, 85%, 39%) |
| CMYK | cmyk(0%, 85%, 19%, 60.8%) |
| CIE-LAB | lab(22.46, 42.90, -17.88) |
| CIE-LCH | lch(22.46, 46.48, 337.38°) |
| OKLab | oklab(34.98% 0.1279 -0.0484) |
| OKLCH | oklch(34.98% 0.137 339.3) |
| XYZ | xyz(6.9117, 3.6458, 8.1227) |
| Luminance | 0.0365 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.71
Rich Purple
#720058
ΔE00 2.86
Plum (survey)
#580F41
ΔE00 3.78
Velvet
#750851
ΔE00 3.99
Plum Purple
#4E0550
ΔE00 5.77
Deep Violet
#490648
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#640F51 #0F6422
analogous
#4D0F64 #640F51 #640F26
triadic
#640F51 #51640F #0F5164
tetradic
#640F51 #644D0F #0F6422 #0F2664
square
#640F51 #644D0F #0F6422 #0F2664
split-complementary
#640F51 #26640F #0F644D
monochromatic
#1B0416 #2F0726 #640F51 #99177C #CE1FA7
Accessibility & contrast
On white
12.15
#640F51 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#640F51 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #640F51
12.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##640F51 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##640F51 | 1.00 | 12.15 | 1.73 | 12.15 |
| #FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.15 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#152D53
Deuteranopia (green-blind)
#323A4F
Tritanopia (blue-blind)
#6A132F
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #640f51; /* rgb */ color: rgb(100, 15, 81); /* oklch */ color: oklch(35.0% 0.137 339.3);
Tailwind
colors: {
custom: {
50: '#935982',
500: '#640f51',
950: '#000000',
},
}SCSS
$custom: #640f51; $custom-light: #935982; $custom-dark: #000000;
JSON
{
"hex": "#640f51",
"rgb": {
"r": 100,
"g": 15,
"b": 81
},
"hsl": {
"h": 313.412,
"s": 73.913,
"l": 22.549
},
"oklch": {
"l": 0.3498,
"c": 0.13672,
"h": 339.3
},
"luminance": 0.03645
}Semantic roles & 50–950 ramp
primary
#640F51
secondary
#329D4A
accent
#F16137
background
#F9F5F7
surface
#F2E9EE
border
#CCC5C9
text
#0E040A
muted
#7E797C