#640F54#640F54
#640F54 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.1% C 0.139 H 337.4°. Best body text is #FFFFFF at 12.08:1 contrast (WCAG AA passes).
Color values
| HEX | #640F54 |
|---|---|
| RGB | rgb(100, 15, 84) |
| HSL | hsl(311, 74%, 23%) |
| HSV | hsv(311, 85%, 39%) |
| CMYK | cmyk(0%, 85%, 16%, 60.8%) |
| CIE-LAB | lab(22.63, 43.36, -19.64) |
| CIE-LCH | lch(22.63, 47.60, 335.63°) |
| OKLab | oklab(35.15% 0.1282 -0.0535) |
| OKLCH | oklch(35.15% 0.139 337.4) |
| XYZ | xyz(7.0267, 3.6918, 8.7283) |
| Luminance | 0.0369 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.54
Rich Purple
#720058
ΔE00 2.85
Plum (survey)
#580F41
ΔE00 4.44
Velvet
#750851
ΔE00 4.47
Plum Purple
#4E0550
ΔE00 5.32
Deep Violet
#490648
ΔE00 5.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#640F54 #0F641F
analogous
#490F64 #640F54 #640F2A
triadic
#640F54 #54640F #0F5464
tetradic
#640F54 #64490F #0F641F #0F2A64
square
#640F54 #64490F #0F641F #0F2A64
split-complementary
#640F54 #2A640F #0F6449
monochromatic
#1B0416 #2F0727 #640F54 #991781 #CE1FAD
Accessibility & contrast
On white
12.08
#640F54 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#640F54 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #640F54
12.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##640F54 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##640F54 | 1.00 | 12.08 | 1.74 | 12.08 |
| #FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#122E56
Deuteranopia (green-blind)
#313B52
Tritanopia (blue-blind)
#6A1531
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #640f54; /* rgb */ color: rgb(100, 15, 84); /* oklch */ color: oklch(35.1% 0.139 337.4);
Tailwind
colors: {
custom: {
50: '#935a84',
500: '#640f54',
950: '#000000',
},
}SCSS
$custom: #640f54; $custom-light: #935a84; $custom-dark: #000000;
JSON
{
"hex": "#640f54",
"rgb": {
"r": 100,
"g": 15,
"b": 84
},
"hsl": {
"h": 311.294,
"s": 73.913,
"l": 22.549
},
"oklch": {
"l": 0.35148,
"c": 0.13888,
"h": 337.4
},
"luminance": 0.03691
}Semantic roles & 50–950 ramp
primary
#640F54
secondary
#329D46
accent
#F15A37
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040B
muted
#7E797C