#7F1856#7F1856
#7F1856 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.149 H 349.2°. Best body text is #FFFFFF at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1856 |
|---|---|
| RGB | rgb(127, 24, 86) |
| HSL | hsl(324, 68%, 30%) |
| HSV | hsv(324, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 32.3%, 50.2%) |
| CIE-LAB | lab(29.00, 47.90, -10.69) |
| CIE-LCH | lch(29.00, 49.08, 347.42°) |
| OKLab | oklab(40.77% 0.1465 -0.028) |
| OKLCH | oklch(40.77% 0.149 349.2) |
| XYZ | xyz(10.7593, 5.8385, 9.3626) |
| Luminance | 0.0584 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.90
Red Purple
#820747
ΔE00 4.24
Reddish Purple
#910951
ΔE00 4.66
Dark Magenta
#960056
ΔE00 4.82
Rich Purple
#720058
ΔE00 4.98
Mulberry
#920A4E
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1856 #187F41
analogous
#74187F #7F1856 #7F1823
triadic
#7F1856 #567F18 #18567F
tetradic
#7F1856 #7F7418 #187F41 #18237F
square
#7F1856 #7F7418 #187F41 #18237F
split-complementary
#7F1856 #237F18 #187F74
monochromatic
#1A0511 #4C0E33 #7F1856 #B22279 #D93899
Accessibility & contrast
On white
9.69
#7F1856 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1856 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1856
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1856 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1856 | 1.00 | 9.69 | 2.17 | 9.69 |
| #FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.69 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#891135
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1856; /* rgb */ color: rgb(127, 24, 86); /* oklch */ color: oklch(40.8% 0.149 349.2);
Tailwind
colors: {
custom: {
50: '#a86185',
500: '#7f1856',
950: '#000000',
},
}SCSS
$custom: #7f1856; $custom-light: #a86185; $custom-dark: #000000;
JSON
{
"hex": "#7f1856",
"rgb": {
"r": 127,
"g": 24,
"b": 86
},
"hsl": {
"h": 323.883,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40772,
"c": 0.14915,
"h": 349.2
},
"luminance": 0.05837
}Semantic roles & 50–950 ramp
primary
#7F1856
secondary
#3FB36E
accent
#EB823D
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C