#7F1957#7F1957
#7F1957 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.9% C 0.149 H 348.7°. Best body text is #FFFFFF at 9.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1957 |
|---|---|
| RGB | rgb(127, 25, 87) |
| HSL | hsl(324, 67%, 30%) |
| HSV | hsv(324, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 31.5%, 50.2%) |
| CIE-LAB | lab(29.15, 47.72, -11.12) |
| CIE-LCH | lch(29.15, 49.00, 346.88°) |
| OKLab | oklab(40.89% 0.1458 -0.0292) |
| OKLCH | oklch(40.89% 0.149 348.7) |
| XYZ | xyz(10.8209, 5.8967, 9.5833) |
| Luminance | 0.0590 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.94
Red Purple
#820747
ΔE00 4.49
Reddish Purple
#910951
ΔE00 4.81
Rich Purple
#720058
ΔE00 4.91
Dark Magenta
#960056
ΔE00 4.93
Mulberry
#920A4E
ΔE00 5.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1957 #197F41
analogous
#74197F #7F1957 #7F1924
triadic
#7F1957 #577F19 #19577F
tetradic
#7F1957 #7F7419 #197F41 #19247F
square
#7F1957 #7F7419 #197F41 #19247F
split-complementary
#7F1957 #247F19 #197F74
monochromatic
#1A0512 #4C0F34 #7F1957 #B2237A #D83A9A
Accessibility & contrast
On white
9.64
#7F1957 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1957 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1957
9.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1957 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1957 | 1.00 | 9.64 | 2.18 | 9.64 |
| #FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3959
Deuteranopia (green-blind)
#484B55
Tritanopia (blue-blind)
#891336
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1957; /* rgb */ color: rgb(127, 25, 87); /* oklch */ color: oklch(40.9% 0.149 348.7);
Tailwind
colors: {
custom: {
50: '#a86286',
500: '#7f1957',
950: '#000000',
},
}SCSS
$custom: #7f1957; $custom-light: #a86286; $custom-dark: #000000;
JSON
{
"hex": "#7f1957",
"rgb": {
"r": 127,
"g": 25,
"b": 87
},
"hsl": {
"h": 323.529,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40894,
"c": 0.14867,
"h": 348.7
},
"luminance": 0.05895
}Semantic roles & 50–950 ramp
primary
#7F1957
secondary
#41B36E
accent
#EA813E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C