#7F1352#7F1352
#7F1352 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.152 H 351.1°. Best body text is #FFFFFF at 9.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1352 |
|---|---|
| RGB | rgb(127, 19, 82) |
| HSL | hsl(325, 74%, 29%) |
| HSV | hsv(325, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 35.4%, 50.2%) |
| CIE-LAB | lab(28.35, 48.82, -9.03) |
| CIE-LCH | lch(28.35, 49.65, 349.52°) |
| OKLab | oklab(40.24% 0.1499 -0.0234) |
| OKLCH | oklch(40.24% 0.152 351.1) |
| XYZ | xyz(10.5089, 5.5883, 8.5062) |
| Luminance | 0.0559 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.90
Red Purple
#820747
ΔE00 3.29
Reddish Purple
#910951
ΔE00 4.14
Dark Magenta
#960056
ΔE00 4.49
Mulberry
#920A4E
ΔE00 4.95
Wine (survey)
#80013F
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1352 #137F40
analogous
#76137F #7F1352 #7F131C
triadic
#7F1352 #527F13 #13527F
tetradic
#7F1352 #7F7613 #137F40 #131C7F
square
#7F1352 #7F7613 #137F40 #131C7F
split-complementary
#7F1352 #1C7F13 #137F76
monochromatic
#1B0411 #4A0B30 #7F1352 #B41B74 #E02D95
Accessibility & contrast
On white
9.92
#7F1352 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7F1352 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1352
9.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1352 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1352 | 1.00 | 9.92 | 2.12 | 9.92 |
| #FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#293754
Deuteranopia (green-blind)
#484A50
Tritanopia (blue-blind)
#890631
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1352; /* rgb */ color: rgb(127, 19, 82); /* oklch */ color: oklch(40.2% 0.152 351.1);
Tailwind
colors: {
custom: {
50: '#a96082',
500: '#7f1352',
950: '#000000',
},
}SCSS
$custom: #7f1352; $custom-light: #a96082; $custom-dark: #000000;
JSON
{
"hex": "#7f1352",
"rgb": {
"r": 127,
"g": 19,
"b": 82
},
"hsl": {
"h": 325,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.40245,
"c": 0.15172,
"h": 351.1
},
"luminance": 0.05587
}Semantic roles & 50–950 ramp
primary
#7F1352
secondary
#39B46D
accent
#F18437
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10050A
muted
#7F7A7C