#7F1148#7F1148
#7F1148 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.7% C 0.149 H 357.0°. Best body text is #FFFFFF at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1148 |
|---|---|
| RGB | rgb(127, 17, 72) |
| HSL | hsl(330, 76%, 28%) |
| HSV | hsv(330, 87%, 50%) |
| CMYK | cmyk(0%, 86.6%, 43.3%, 50.2%) |
| CIE-LAB | lab(27.80, 48.23, -3.19) |
| CIE-LCH | lch(27.80, 48.33, 356.21°) |
| OKLab | oklab(39.72% 0.1486 -0.0078) |
| OKLCH | oklch(39.72% 0.149 357) |
| XYZ | xyz(10.1233, 5.3822, 6.6354) |
| Luminance | 0.0538 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 0.89
Wine (survey)
#80013F
ΔE00 2.51
Reddish Purple
#910951
ΔE00 3.45
Merlot
#730039
ΔE00 3.67
Mulberry
#920A4E
ΔE00 3.67
Dark Magenta
#960056
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1148 #117F48
analogous
#7F117F #7F1148 #7F1111
triadic
#7F1148 #487F11 #11487F
tetradic
#7F1148 #7F7F11 #117F48 #11117F
square
#7F1148 #7F7F11 #117F48 #11117F
split-complementary
#7F1148 #117F11 #117F7F
monochromatic
#1B040F #490A29 #7F1148 #B51867 #E22885
Accessibility & contrast
On white
10.11
#7F1148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.08
#7F1148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1148
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1148 | 1.00 | 10.11 | 2.08 | 10.11 |
| #FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3549
Deuteranopia (green-blind)
#4A4946
Tritanopia (blue-blind)
#8A002B
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1148; /* rgb */ color: rgb(127, 17, 72); /* oklch */ color: oklch(39.7% 0.149 357.0);
Tailwind
colors: {
custom: {
50: '#a95f7a',
500: '#7f1148',
950: '#000000',
},
}SCSS
$custom: #7f1148; $custom-light: #a95f7a; $custom-dark: #000000;
JSON
{
"hex": "#7f1148",
"rgb": {
"r": 127,
"g": 17,
"b": 72
},
"hsl": {
"h": 330,
"s": 76.389,
"l": 28.235
},
"oklch": {
"l": 0.3972,
"c": 0.14878,
"h": 357
},
"luminance": 0.05381
}Semantic roles & 50–950 ramp
primary
#7F1148
secondary
#37B576
accent
#F39435
background
#FAF5F7
surface
#F5EAED
border
#CFC6C8
text
#110509
muted
#80797B