#7F1548#7F1548
#7F1548 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.145 H 357.5°. Best body text is #FFFFFF at 9.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1548 |
|---|---|
| RGB | rgb(127, 21, 72) |
| HSL | hsl(331, 72%, 29%) |
| HSV | hsv(331, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 43.3%, 50.2%) |
| CIE-LAB | lab(28.16, 47.19, -2.65) |
| CIE-LCH | lch(28.16, 47.26, 356.78°) |
| OKLab | oklab(39.99% 0.1452 -0.0064) |
| OKLCH | oklch(39.99% 0.145 357.5) |
| XYZ | xyz(10.1910, 5.5176, 6.6580) |
| Luminance | 0.0552 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.20
Wine (survey)
#80013F
ΔE00 2.53
Reddish Purple
#910951
ΔE00 3.46
Mulberry
#920A4E
ΔE00 3.60
Merlot
#730039
ΔE00 3.79
Dark Magenta
#960056
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1548 #157F4C
analogous
#7F157D #7F1548 #7F1715
triadic
#7F1548 #487F15 #15487F
tetradic
#7F1548 #7D7F15 #157F4C #17157F
square
#7F1548 #7D7F15 #157F4C #17157F
split-complementary
#7F1548 #157F17 #157D7F
monochromatic
#1A040F #4A0C2A #7F1548 #B41E66 #DD3184
Accessibility & contrast
On white
9.98
#7F1548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.10
#7F1548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1548
9.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1548 | 1.00 | 9.98 | 2.10 | 9.98 |
| #FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3649
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8A002D
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1548; /* rgb */ color: rgb(127, 21, 72); /* oklch */ color: oklch(40.0% 0.145 357.5);
Tailwind
colors: {
custom: {
50: '#a9607a',
500: '#7f1548',
950: '#000000',
},
}SCSS
$custom: #7f1548; $custom-light: #a9607a; $custom-dark: #000000;
JSON
{
"hex": "#7f1548",
"rgb": {
"r": 127,
"g": 21,
"b": 72
},
"hsl": {
"h": 331.132,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39986,
"c": 0.14537,
"h": 357.5
},
"luminance": 0.05516
}Semantic roles & 50–950 ramp
primary
#7F1548
secondary
#3CB47A
accent
#EE9739
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#110509
muted
#807A7B