#7F1848#7F1848
#7F1848 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.142 H 357.9°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1848 |
|---|---|
| RGB | rgb(127, 24, 72) |
| HSL | hsl(332, 68%, 30%) |
| HSV | hsv(332, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 43.3%, 50.2%) |
| CIE-LAB | lab(28.47, 46.30, -2.20) |
| CIE-LCH | lch(28.47, 46.36, 357.28°) |
| OKLab | oklab(40.21% 0.1424 -0.0052) |
| OKLCH | oklch(40.21% 0.142 357.9) |
| XYZ | xyz(10.2495, 5.6345, 6.6775) |
| Luminance | 0.0563 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 1.54
Wine (survey)
#80013F
ΔE00 2.62
Reddish Purple
#910951
ΔE00 3.53
Mulberry
#920A4E
ΔE00 3.59
Merlot
#730039
ΔE00 3.93
Dark Magenta
#960056
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1848 #187F4F
analogous
#7F187C #7F1848 #7F1C18
triadic
#7F1848 #487F18 #18487F
tetradic
#7F1848 #7C7F18 #187F4F #1C187F
square
#7F1848 #7C7F18 #187F4F #1C187F
split-complementary
#7F1848 #187F1C #187C7F
monochromatic
#1A050F #4C0E2B #7F1848 #B22265 #D93883
Accessibility & contrast
On white
9.87
#7F1848 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.13
#7F1848 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1848
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1848 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1848 | 1.00 | 9.87 | 2.13 | 9.87 |
| #FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3749
Deuteranopia (green-blind)
#4B4A46
Tritanopia (blue-blind)
#8A052E
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1848; /* rgb */ color: rgb(127, 24, 72); /* oklch */ color: oklch(40.2% 0.142 357.9);
Tailwind
colors: {
custom: {
50: '#a9617a',
500: '#7f1848',
950: '#000000',
},
}SCSS
$custom: #7f1848; $custom-light: #a9617a; $custom-dark: #000000;
JSON
{
"hex": "#7f1848",
"rgb": {
"r": 127,
"g": 24,
"b": 72
},
"hsl": {
"h": 332.039,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.40212,
"c": 0.14249,
"h": 357.9
},
"luminance": 0.05633
}Semantic roles & 50–950 ramp
primary
#7F1848
secondary
#3FB37D
accent
#EB9A3D
background
#FAF6F7
surface
#F5EBED
border
#CFC6C8
text
#100509
muted
#7F7A7B