#7F1252#7F1252
#7F1252 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.153 H 351.0°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1252 |
|---|---|
| RGB | rgb(127, 18, 82) |
| HSL | hsl(325, 75%, 28%) |
| HSV | hsv(325, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 35.4%, 50.2%) |
| CIE-LAB | lab(28.26, 49.07, -9.17) |
| CIE-LCH | lch(28.26, 49.92, 349.42°) |
| OKLab | oklab(40.18% 0.1507 -0.0238) |
| OKLCH | oklch(40.18% 0.153 351) |
| XYZ | xyz(10.4923, 5.5551, 8.5007) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.82
Red Purple
#820747
ΔE00 3.31
Reddish Purple
#910951
ΔE00 4.18
Dark Magenta
#960056
ΔE00 4.51
Mulberry
#920A4E
ΔE00 5.00
Rich Purple
#720058
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1252 #127F3F
analogous
#75127F #7F1252 #7F121B
triadic
#7F1252 #527F12 #12527F
tetradic
#7F1252 #7F7512 #127F3F #121B7F
square
#7F1252 #7F7512 #127F3F #121B7F
split-complementary
#7F1252 #1B7F12 #127F75
monochromatic
#1B0411 #490A2F #7F1252 #B51A75 #E12B96
Accessibility & contrast
On white
9.95
#7F1252 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1252 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1252
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1252 | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#283654
Deuteranopia (green-blind)
#484950
Tritanopia (blue-blind)
#890531
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1252; /* rgb */ color: rgb(127, 18, 82); /* oklch */ color: oklch(40.2% 0.153 351.0);
Tailwind
colors: {
custom: {
50: '#a95f82',
500: '#7f1252',
950: '#000000',
},
}SCSS
$custom: #7f1252; $custom-light: #a95f82; $custom-dark: #000000;
JSON
{
"hex": "#7f1252",
"rgb": {
"r": 127,
"g": 18,
"b": 82
},
"hsl": {
"h": 324.771,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.40181,
"c": 0.15257,
"h": 351
},
"luminance": 0.05554
}Semantic roles & 50–950 ramp
primary
#7F1252
secondary
#38B56C
accent
#F28436
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C