#7D1F68#7D1F68
#7D1F68 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.9% C 0.151 H 338.5°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1F68 |
|---|---|
| RGB | rgb(125, 31, 104) |
| HSL | hsl(313, 60%, 31%) |
| HSV | hsv(313, 75%, 49%) |
| CMYK | cmyk(0%, 75.2%, 16.8%, 51%) |
| CIE-LAB | lab(30.26, 47.54, -20.50) |
| CIE-LCH | lch(30.26, 51.77, 336.67°) |
| OKLab | oklab(41.88% 0.1409 -0.0556) |
| OKLCH | oklch(41.88% 0.151 338.5) |
| XYZ | xyz(11.4464, 6.3405, 13.7150) |
| Luminance | 0.0634 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkish Purple
#751973
ΔE00 4.26
Rich Purple
#720058
ΔE00 4.45
Velvet
#750851
ΔE00 5.10
Grape
#6C3461
ΔE00 5.76
Purple
#800080
ΔE00 6.21
Red Violet
#9E0168
ΔE00 6.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1F68 #1F7D34
analogous
#631F7D #7D1F68 #7D1F39
triadic
#7D1F68 #687D1F #1F687D
tetradic
#7D1F68 #7D631F #1F7D34 #1F397D
square
#7D1F68 #7D631F #1F7D34 #1F397D
split-complementary
#7D1F68 #397D1F #1F7D63
monochromatic
#1B0716 #4C133F #7D1F68 #AE2B91 #D145B2
Accessibility & contrast
On white
9.26
#7D1F68 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#7D1F68 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1F68
9.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1F68 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1F68 | 1.00 | 9.26 | 2.27 | 9.26 |
| #FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243E6A
Deuteranopia (green-blind)
#434C66
Tritanopia (blue-blind)
#842341
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7d1f68; /* rgb */ color: rgb(125, 31, 104); /* oklch */ color: oklch(41.9% 0.151 338.5);
Tailwind
colors: {
custom: {
50: '#a66593',
500: '#7d1f68',
950: '#000000',
},
}SCSS
$custom: #7d1f68; $custom-light: #a66593; $custom-dark: #000000;
JSON
{
"hex": "#7d1f68",
"rgb": {
"r": 125,
"g": 31,
"b": 104
},
"hsl": {
"h": 313.404,
"s": 60.256,
"l": 30.588
},
"oklch": {
"l": 0.41879,
"c": 0.15142,
"h": 338.5
},
"luminance": 0.06339
}Semantic roles & 50–950 ramp
primary
#7D1F68
secondary
#48B05F
accent
#E36844
background
#FAF6F9
surface
#F4EBF1
border
#CEC6CB
text
#10060D
muted
#7F7A7E