#7F2156#7F2156
#7F2156 is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.6% C 0.139 H 350.2°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2156 |
|---|---|
| RGB | rgb(127, 33, 86) |
| HSL | hsl(326, 59%, 31%) |
| HSV | hsv(326, 74%, 50%) |
| CMYK | cmyk(0%, 74%, 32.3%, 50.2%) |
| CIE-LAB | lab(30.09, 44.82, -9.04) |
| CIE-LCH | lch(30.09, 45.72, 348.60°) |
| OKLab | oklab(41.57% 0.1368 -0.0235) |
| OKLCH | oklch(41.57% 0.139 350.2) |
| XYZ | xyz(10.9765, 6.2729, 9.4350) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 4.09
Red Purple
#820747
ΔE00 4.30
Reddish Purple
#910951
ΔE00 4.51
Dark Magenta
#960056
ΔE00 4.85
Mulberry
#920A4E
ΔE00 5.26
Dark Fuchsia
#9D0759
ΔE00 5.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2156 #217F4A
analogous
#79217F #7F2156 #7F2127
triadic
#7F2156 #567F21 #21567F
tetradic
#7F2156 #7F7921 #217F4A #21277F
square
#7F2156 #7F7921 #217F4A #21277F
split-complementary
#7F2156 #277F21 #217F79
monochromatic
#1E0814 #4E1435 #7F2156 #B02E77 #D04A96
Accessibility & contrast
On white
9.32
#7F2156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#7F2156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2156
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2156 | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303C57
Deuteranopia (green-blind)
#4B4D54
Tritanopia (blue-blind)
#891B38
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #7f2156; /* rgb */ color: rgb(127, 33, 86); /* oklch */ color: oklch(41.6% 0.139 350.2);
Tailwind
colors: {
custom: {
50: '#a86585',
500: '#7f2156',
950: '#000000',
},
}SCSS
$custom: #7f2156; $custom-light: #a86585; $custom-dark: #000000;
JSON
{
"hex": "#7f2156",
"rgb": {
"r": 127,
"g": 33,
"b": 86
},
"hsl": {
"h": 326.17,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.41567,
"c": 0.13885,
"h": 350.2
},
"luminance": 0.06272
}Semantic roles & 50–950 ramp
primary
#7F2156
secondary
#4AB277
accent
#E28A46
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C