#7F1954#7F1954
#7F1954 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.8% C 0.147 H 350.5°. Best body text is #FFFFFF at 9.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1954 |
|---|---|
| RGB | rgb(127, 25, 84) |
| HSL | hsl(325, 67%, 30%) |
| HSV | hsv(325, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 33.9%, 50.2%) |
| CIE-LAB | lab(29.03, 47.35, -9.33) |
| CIE-LCH | lch(29.03, 48.26, 348.85°) |
| OKLab | oklab(40.77% 0.145 -0.0243) |
| OKLCH | oklch(40.77% 0.147 350.5) |
| XYZ | xyz(10.7009, 5.8487, 8.9512) |
| Luminance | 0.0585 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.21
Red Purple
#820747
ΔE00 3.71
Reddish Purple
#910951
ΔE00 4.27
Dark Magenta
#960056
ΔE00 4.58
Mulberry
#920A4E
ΔE00 5.09
Rich Purple
#720058
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1954 #197F44
analogous
#77197F #7F1954 #7F1921
triadic
#7F1954 #547F19 #19547F
tetradic
#7F1954 #7F7719 #197F44 #19217F
square
#7F1954 #7F7719 #197F44 #19217F
split-complementary
#7F1954 #217F19 #197F77
monochromatic
#1A0511 #4C0F32 #7F1954 #B22376 #D83A96
Accessibility & contrast
On white
9.68
#7F1954 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.17
#7F1954 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1954
9.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1954 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1954 | 1.00 | 9.68 | 2.17 | 9.68 |
| #FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3956
Deuteranopia (green-blind)
#494B52
Tritanopia (blue-blind)
#891134
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1954; /* rgb */ color: rgb(127, 25, 84); /* oklch */ color: oklch(40.8% 0.147 350.5);
Tailwind
colors: {
custom: {
50: '#a86284',
500: '#7f1954',
950: '#000000',
},
}SCSS
$custom: #7f1954; $custom-light: #a86284; $custom-dark: #000000;
JSON
{
"hex": "#7f1954",
"rgb": {
"r": 127,
"g": 25,
"b": 84
},
"hsl": {
"h": 325.294,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40765,
"c": 0.14704,
"h": 350.5
},
"luminance": 0.05847
}Semantic roles & 50–950 ramp
primary
#7F1954
secondary
#41B371
accent
#EA863E
background
#FAF6F8
surface
#F4EBEF
border
#CEC6CA
text
#10060A
muted
#7F7A7C