#640F53#640F53
#640F53 is a dark, vivid pink. Relative luminance 0.037; OKLCH L 35.1% C 0.138 H 338.0°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).
Color values
| HEX | #640F53 |
|---|---|
| RGB | rgb(100, 15, 83) |
| HSL | hsl(312, 74%, 23%) |
| HSV | hsv(312, 85%, 39%) |
| CMYK | cmyk(0%, 85%, 17%, 60.8%) |
| CIE-LAB | lab(22.57, 43.21, -19.05) |
| CIE-LCH | lch(22.57, 47.22, 336.20°) |
| OKLab | oklab(35.09% 0.1281 -0.0518) |
| OKLCH | oklch(35.09% 0.138 338) |
| XYZ | xyz(6.9879, 3.6762, 8.5235) |
| Luminance | 0.0368 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Grape Purple
#5D1451
ΔE00 1.55
Rich Purple
#720058
ΔE00 2.83
Plum (survey)
#580F41
ΔE00 4.22
Velvet
#750851
ΔE00 4.30
Plum Purple
#4E0550
ΔE00 5.46
Deep Violet
#490648
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#640F53 #0F6420
analogous
#4A0F64 #640F53 #640F28
triadic
#640F53 #53640F #0F5364
tetradic
#640F53 #644A0F #0F6420 #0F2864
square
#640F53 #644A0F #0F6420 #0F2864
split-complementary
#640F53 #28640F #0F644A
monochromatic
#1B0416 #2F0727 #640F53 #99177F #CE1FAB
Accessibility & contrast
On white
12.10
#640F53 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.74
#640F53 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #640F53
12.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##640F53 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##640F53 | 1.00 | 12.10 | 1.74 | 12.10 |
| #FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 12.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#132E55
Deuteranopia (green-blind)
#313A51
Tritanopia (blue-blind)
#6A1431
Achromatopsia (no color)
#363636
Design tokens & code
CSS
--color: #640f53; /* rgb */ color: rgb(100, 15, 83); /* oklch */ color: oklch(35.1% 0.138 338.0);
Tailwind
colors: {
custom: {
50: '#935a83',
500: '#640f53',
950: '#000000',
},
}SCSS
$custom: #640f53; $custom-light: #935a83; $custom-dark: #000000;
JSON
{
"hex": "#640f53",
"rgb": {
"r": 100,
"g": 15,
"b": 83
},
"hsl": {
"h": 312,
"s": 73.913,
"l": 22.549
},
"oklch": {
"l": 0.35091,
"c": 0.13816,
"h": 338
},
"luminance": 0.03676
}Semantic roles & 50–950 ramp
primary
#640F53
secondary
#329D47
accent
#F15C37
background
#F9F5F8
surface
#F2E9EF
border
#CCC5CA
text
#0D040A
muted
#7E797C