#640F52#640F52
#640F52 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.0% C 0.137 H 338.6°. Best body text is #FFFFFF at 12.12:1 contrast (WCAG AA passes).
Color values
| HEX | #640F52 |
|---|---|
| RGB | rgb(100, 15, 82) |
| HSL | hsl(313, 74%, 23%) |
| HSV | hsv(313, 85%, 39%) |
| CMYK | cmyk(0%, 85%, 18%, 60.8%) |
| CIE-LAB | lab(22.52, 43.06, -18.47) |
| CIE-LCH | lch(22.52, 46.85, 336.79°) |
| OKLab | oklab(35.03% 0.128 -0.0501) |
| OKLCH | oklch(35.03% 0.137 338.6) |
| XYZ | xyz(6.9495, 3.6609, 8.3216) |
| Luminance | 0.0366 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.60
Rich Purple
#720058
ΔE00 2.83
Plum (survey)
#580F41
ΔE00 4.00
Velvet
#750851
ΔE00 4.14
Plum Purple
#4E0550
ΔE00 5.61
Deep Violet
#490648
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#640F52 #0F6421
analogous
#4C0F64 #640F52 #640F27
triadic
#640F52 #52640F #0F5264
tetradic
#640F52 #644C0F #0F6421 #0F2764
square
#640F52 #644C0F #0F6421 #0F2764
split-complementary
#640F52 #27640F #0F644C
monochromatic
#1B0416 #2F0726 #640F52 #99177E #CE1FA9
Accessibility & contrast
On white
12.12
#640F52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.73
#640F52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #640F52
12.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##640F52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##640F52 | 1.00 | 12.12 | 1.73 | 12.12 |
| #FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.12 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#142D54
Deuteranopia (green-blind)
#323A50
Tritanopia (blue-blind)
#6A1430
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #640f52; /* rgb */ color: rgb(100, 15, 82); /* oklch */ color: oklch(35.0% 0.137 338.6);
Tailwind
colors: {
custom: {
50: '#935983',
500: '#640f52',
950: '#000000',
},
}SCSS
$custom: #640f52; $custom-light: #935983; $custom-dark: #000000;
JSON
{
"hex": "#640f52",
"rgb": {
"r": 100,
"g": 15,
"b": 82
},
"hsl": {
"h": 312.706,
"s": 73.913,
"l": 22.549
},
"oklch": {
"l": 0.35035,
"c": 0.13743,
"h": 338.6
},
"luminance": 0.0366
}Semantic roles & 50–950 ramp
primary
#640F52
secondary
#329D49
accent
#F15E37
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040A
muted
#7E797C