#7F2159#7F2159
#7F2159 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.7% C 0.141 H 348.3°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2159 |
|---|---|
| RGB | rgb(127, 33, 89) |
| HSL | hsl(324, 59%, 31%) |
| HSV | hsv(324, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 29.9%, 50.2%) |
| CIE-LAB | lab(30.21, 45.21, -10.82) |
| CIE-LCH | lch(30.21, 46.49, 346.55°) |
| OKLab | oklab(41.7% 0.1376 -0.0284) |
| OKLCH | oklch(41.7% 0.141 348.3) |
| XYZ | xyz(11.1000, 6.3222, 10.0850) |
| Luminance | 0.0632 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.87
Red Purple
#820747
ΔE00 4.99
Reddish Purple
#910951
ΔE00 5.03
Dark Magenta
#960056
ΔE00 5.17
Rich Purple
#720058
ΔE00 5.67
Mulberry
#920A4E
ΔE00 5.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2159 #217F47
analogous
#76217F #7F2159 #7F212A
triadic
#7F2159 #597F21 #21597F
tetradic
#7F2159 #7F7621 #217F47 #212A7F
square
#7F2159 #7F7621 #217F47 #212A7F
split-complementary
#7F2159 #2A7F21 #217F76
monochromatic
#1E0815 #4E1437 #7F2159 #B02E7B #D04A9A
Accessibility & contrast
On white
9.27
#7F2159 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#7F2159 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2159
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2159 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2159 | 1.00 | 9.27 | 2.26 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3D5B
Deuteranopia (green-blind)
#4A4D57
Tritanopia (blue-blind)
#881D3A
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2159; /* rgb */ color: rgb(127, 33, 89); /* oklch */ color: oklch(41.7% 0.141 348.3);
Tailwind
colors: {
custom: {
50: '#a86588',
500: '#7f2159',
950: '#000000',
},
}SCSS
$custom: #7f2159; $custom-light: #a86588; $custom-dark: #000000;
JSON
{
"hex": "#7f2159",
"rgb": {
"r": 127,
"g": 33,
"b": 89
},
"hsl": {
"h": 324.255,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.41695,
"c": 0.14054,
"h": 348.3
},
"luminance": 0.06321
}Semantic roles & 50–950 ramp
primary
#7F2159
secondary
#4AB274
accent
#E28546
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C