#7F2161#7F2161
#7F2161 is a dark, vivid pink. Relative luminance 0.065; OKLCH L 42.1% C 0.145 H 343.5°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2161 |
|---|---|
| RGB | rgb(127, 33, 97) |
| HSL | hsl(319, 59%, 31%) |
| HSV | hsv(319, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 23.6%, 50.2%) |
| CIE-LAB | lab(30.55, 46.31, -15.49) |
| CIE-LCH | lch(30.55, 48.83, 341.50°) |
| OKLab | oklab(42.06% 0.1395 -0.0414) |
| OKLCH | oklch(42.06% 0.145 343.5) |
| XYZ | xyz(11.4543, 6.4640, 11.9514) |
| Luminance | 0.0646 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.17
Rich Purple
#720058
ΔE00 4.83
Grape
#6C3461
ΔE00 5.62
Red Violet
#9E0168
ΔE00 5.83
Dark Magenta
#960056
ΔE00 6.43
Darkish Purple
#751973
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2161 #217F3F
analogous
#6E217F #7F2161 #7F2132
triadic
#7F2161 #617F21 #21617F
tetradic
#7F2161 #7F6E21 #217F3F #21327F
square
#7F2161 #7F6E21 #217F3F #21327F
split-complementary
#7F2161 #327F21 #217F6E
monochromatic
#1E0817 #4E143C #7F2161 #B02E86 #D04AA5
Accessibility & contrast
On white
9.16
#7F2161 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.29
#7F2161 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2161
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2161 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2161 | 1.00 | 9.16 | 2.29 | 9.16 |
| #FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3E63
Deuteranopia (green-blind)
#474E5F
Tritanopia (blue-blind)
#87213E
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #7f2161; /* rgb */ color: rgb(127, 33, 97); /* oklch */ color: oklch(42.1% 0.145 343.5);
Tailwind
colors: {
custom: {
50: '#a7658e',
500: '#7f2161',
950: '#000000',
},
}SCSS
$custom: #7f2161; $custom-light: #a7658e; $custom-dark: #000000;
JSON
{
"hex": "#7f2161",
"rgb": {
"r": 127,
"g": 33,
"b": 97
},
"hsl": {
"h": 319.149,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.42057,
"c": 0.14549,
"h": 343.5
},
"luminance": 0.06463
}Semantic roles & 50–950 ramp
primary
#7F2161
secondary
#4AB26B
accent
#E27846
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D