#7F1840#7F1840
#7F1840 is a dark, vivid pink. Relative luminance 0.055; OKLCH L 39.9% C 0.140 H 3.1°. Best body text is #FFFFFF at 9.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1840 |
|---|---|
| RGB | rgb(127, 24, 64) |
| HSL | hsl(337, 68%, 30%) |
| HSV | hsv(337, 81%, 50%) |
| CMYK | cmyk(0%, 81.1%, 49.6%, 50.2%) |
| CIE-LAB | lab(28.21, 45.51, 2.79) |
| CIE-LCH | lch(28.21, 45.60, 3.50°) |
| OKLab | oklab(39.94% 0.1395 0.0076) |
| OKLCH | oklch(39.94% 0.14 3.1) |
| XYZ | xyz(10.0053, 5.5368, 5.3914) |
| Luminance | 0.0554 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.20
Red Purple
#820747
ΔE00 3.24
Merlot
#730039
ΔE00 3.76
Mulberry
#920A4E
ΔE00 4.39
Purple Red
#990147
ΔE00 4.87
Reddish Purple
#910951
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1840 #187F57
analogous
#7F1874 #7F1840 #7F2418
triadic
#7F1840 #407F18 #18407F
tetradic
#7F1840 #747F18 #187F57 #24187F
square
#7F1840 #747F18 #187F57 #24187F
split-complementary
#7F1840 #187F24 #18747F
monochromatic
#1A050D #4C0E26 #7F1840 #B2225A #D93877
Accessibility & contrast
On white
9.97
#7F1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7F1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1840
9.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1840 | 1.00 | 9.97 | 2.11 | 9.97 |
| #FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323641
Deuteranopia (green-blind)
#4D4A3E
Tritanopia (blue-blind)
#8B002A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7f1840; /* rgb */ color: rgb(127, 24, 64); /* oklch */ color: oklch(39.9% 0.140 3.1);
Tailwind
colors: {
custom: {
50: '#a96174',
500: '#7f1840',
950: '#000000',
},
}SCSS
$custom: #7f1840; $custom-light: #a96174; $custom-dark: #000000;
JSON
{
"hex": "#7f1840",
"rgb": {
"r": 127,
"g": 24,
"b": 64
},
"hsl": {
"h": 336.699,
"s": 68.212,
"l": 29.608
},
"oklch": {
"l": 0.39938,
"c": 0.13975,
"h": 3.1
},
"luminance": 0.05535
}Semantic roles & 50–950 ramp
primary
#7F1840
secondary
#3FB386
accent
#EBA73D
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B