#7F1538#7F1538
#7F1538 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.141 H 7.8°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1538 |
|---|---|
| RGB | rgb(127, 21, 56) |
| HSL | hsl(340, 72%, 29%) |
| HSV | hsv(340, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 55.9%, 50.2%) |
| CIE-LAB | lab(27.67, 45.71, 7.41) |
| CIE-LCH | lch(27.67, 46.31, 9.20°) |
| OKLab | oklab(39.47% 0.1393 0.019) |
| OKLCH | oklch(39.47% 0.141 7.8) |
| XYZ | xyz(9.7353, 5.3353, 4.2578) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.08
Red Wine
#8C0034
ΔE00 3.25
Wine (survey)
#80013F
ΔE00 3.82
Merlot
#730039
ΔE00 4.91
Purple Red
#990147
ΔE00 5.37
Red Purple
#820747
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1538 #157F5C
analogous
#7F156D #7F1538 #7F2715
triadic
#7F1538 #387F15 #15387F
tetradic
#7F1538 #6D7F15 #157F5C #27157F
square
#7F1538 #6D7F15 #157F5C #27157F
split-complementary
#7F1538 #157F27 #156D7F
monochromatic
#1A040C #4A0C21 #7F1538 #B41E4F #DD316A
Accessibility & contrast
On white
10.16
#7F1538 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1538 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1538
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1538 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1538 | 1.00 | 10.16 | 2.07 | 10.16 |
| #FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323439
Deuteranopia (green-blind)
#4E4935
Tritanopia (blue-blind)
#8B0025
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1538; /* rgb */ color: rgb(127, 21, 56); /* oklch */ color: oklch(39.5% 0.141 7.8);
Tailwind
colors: {
custom: {
50: '#aa5f6e',
500: '#7f1538',
950: '#000000',
},
}SCSS
$custom: #7f1538; $custom-light: #aa5f6e; $custom-dark: #000000;
JSON
{
"hex": "#7f1538",
"rgb": {
"r": 127,
"g": 21,
"b": 56
},
"hsl": {
"h": 340.189,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39465,
"c": 0.14057,
"h": 7.8
},
"luminance": 0.05334
}Semantic roles & 50–950 ramp
primary
#7F1538
secondary
#3CB48C
accent
#EEB339
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A