#7F1952#7F1952
#7F1952 is a dark, vivid pink. Relative luminance 0.058; OKLCH L 40.7% C 0.146 H 351.7°. Best body text is #FFFFFF at 9.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1952 |
|---|---|
| RGB | rgb(127, 25, 82) |
| HSL | hsl(326, 67%, 30%) |
| HSV | hsv(326, 80%, 50%) |
| CMYK | cmyk(0%, 80.3%, 35.4%, 50.2%) |
| CIE-LAB | lab(28.95, 47.11, -8.13) |
| CIE-LCH | lch(28.95, 47.81, 350.21°) |
| OKLab | oklab(40.68% 0.1445 -0.021) |
| OKLCH | oklch(40.68% 0.146 351.7) |
| XYZ | xyz(10.6237, 5.8178, 8.5445) |
| Luminance | 0.0582 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 3.21
Velvet
#750851
ΔE00 3.51
Reddish Purple
#910951
ΔE00 3.95
Dark Magenta
#960056
ΔE00 4.43
Mulberry
#920A4E
ΔE00 4.70
Wine (survey)
#80013F
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1952 #197F46
analogous
#79197F #7F1952 #7F191F
triadic
#7F1952 #527F19 #19527F
tetradic
#7F1952 #7F7919 #197F46 #191F7F
square
#7F1952 #7F7919 #197F46 #191F7F
split-complementary
#7F1952 #1F7F19 #197F79
monochromatic
#1A0511 #4C0F31 #7F1952 #B22373 #D83A92
Accessibility & contrast
On white
9.71
#7F1952 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.16
#7F1952 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1952
9.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1952 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1952 | 1.00 | 9.71 | 2.16 | 9.71 |
| #FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3953
Deuteranopia (green-blind)
#494B50
Tritanopia (blue-blind)
#890F33
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7f1952; /* rgb */ color: rgb(127, 25, 82); /* oklch */ color: oklch(40.7% 0.146 351.7);
Tailwind
colors: {
custom: {
50: '#a86282',
500: '#7f1952',
950: '#000000',
},
}SCSS
$custom: #7f1952; $custom-light: #a86282; $custom-dark: #000000;
JSON
{
"hex": "#7f1952",
"rgb": {
"r": 127,
"g": 25,
"b": 82
},
"hsl": {
"h": 326.471,
"s": 67.105,
"l": 29.804
},
"oklch": {
"l": 0.40681,
"c": 0.146,
"h": 351.7
},
"luminance": 0.05816
}Semantic roles & 50–950 ramp
primary
#7F1952
secondary
#41B373
accent
#EA8A3E
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C