#7F1841#7F1841
#7F1841 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 40.0% C 0.140 H 2.5°. Best body text is #FFFFFF at 9.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1841 |
|---|---|
| RGB | rgb(127, 24, 65) |
| HSL | hsl(336, 68%, 30%) |
| HSV | hsv(336, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 48.8%, 50.2%) |
| CIE-LAB | lab(28.24, 45.61, 2.16) |
| CIE-LCH | lch(28.24, 45.66, 2.71°) |
| OKLab | oklab(39.97% 0.1399 0.006) |
| OKLCH | oklch(39.97% 0.14 2.5) |
| XYZ | xyz(10.0340, 5.5483, 5.5426) |
| Luminance | 0.0555 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.07
Red Purple
#820747
ΔE00 2.94
Merlot
#730039
ΔE00 3.68
Mulberry
#920A4E
ΔE00 4.20
Reddish Purple
#910951
ΔE00 4.69
Purple Red
#990147
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1841 #187F56
analogous
#7F1874 #7F1841 #7F2318
triadic
#7F1841 #417F18 #18417F
tetradic
#7F1841 #747F18 #187F56 #23187F
square
#7F1841 #747F18 #187F56 #23187F
split-complementary
#7F1841 #187F23 #18747F
monochromatic
#1A050D #4C0E27 #7F1841 #B2225B #D93878
Accessibility & contrast
On white
9.96
#7F1841 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1841 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1841
9.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1841 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1841 | 1.00 | 9.96 | 2.11 | 9.96 |
| #FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313642
Deuteranopia (green-blind)
#4D4A3F
Tritanopia (blue-blind)
#8B002A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1841; /* rgb */ color: rgb(127, 24, 65); /* oklch */ color: oklch(40.0% 0.140 2.5);
Tailwind
colors: {
custom: {
50: '#a96175',
500: '#7f1841',
950: '#000000',
},
}SCSS
$custom: #7f1841; $custom-light: #a96175; $custom-dark: #000000;
JSON
{
"hex": "#7f1841",
"rgb": {
"r": 127,
"g": 24,
"b": 65
},
"hsl": {
"h": 336.117,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.3997,
"c": 0.14004,
"h": 2.5
},
"luminance": 0.05547
}Semantic roles & 50–950 ramp
primary
#7F1841
secondary
#3FB385
accent
#EBA63D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B