#7F1956#7F1956
#7F1956 is a dark, vivid pink. Relative luminance 0.059; OKLCH L 40.8% C 0.148 H 349.3°. Best body text is #FFFFFF at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1956 |
|---|---|
| RGB | rgb(127, 25, 86) |
| HSL | hsl(324, 67%, 30%) |
| HSV | hsv(324, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 32.3%, 50.2%) |
| CIE-LAB | lab(29.11, 47.59, -10.52) |
| CIE-LCH | lch(29.11, 48.74, 347.53°) |
| OKLab | oklab(40.85% 0.1455 -0.0276) |
| OKLCH | oklch(40.85% 0.148 349.3) |
| XYZ | xyz(10.7803, 5.8804, 9.3696) |
| Luminance | 0.0588 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.00
Red Purple
#820747
ΔE00 4.23
Reddish Purple
#910951
ΔE00 4.63
Dark Magenta
#960056
ΔE00 4.80
Rich Purple
#720058
ΔE00 5.09
Mulberry
#920A4E
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1956 #197F42
analogous
#75197F #7F1956 #7F1923
triadic
#7F1956 #567F19 #19567F
tetradic
#7F1956 #7F7519 #197F42 #19237F
square
#7F1956 #7F7519 #197F42 #19237F
split-complementary
#7F1956 #237F19 #197F75
monochromatic
#1A0511 #4C0F33 #7F1956 #B22379 #D83A99
Accessibility & contrast
On white
9.65
#7F1956 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.18
#7F1956 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1956
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1956 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1956 | 1.00 | 9.65 | 2.18 | 9.65 |
| #FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2A3958
Deuteranopia (green-blind)
#484B54
Tritanopia (blue-blind)
#891235
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7f1956; /* rgb */ color: rgb(127, 25, 86); /* oklch */ color: oklch(40.8% 0.148 349.3);
Tailwind
colors: {
custom: {
50: '#a86285',
500: '#7f1956',
950: '#000000',
},
}SCSS
$custom: #7f1956; $custom-light: #a86285; $custom-dark: #000000;
JSON
{
"hex": "#7f1956",
"rgb": {
"r": 127,
"g": 25,
"b": 86
},
"hsl": {
"h": 324.118,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.4085,
"c": 0.14812,
"h": 349.3
},
"luminance": 0.05879
}Semantic roles & 50–950 ramp
primary
#7F1956
secondary
#41B36F
accent
#EA833E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060B
muted
#7F7A7C