#7F1542#7F1542
#7F1542 is a dark, vivid pink. Relative luminance 0.054; OKLCH L 39.8% C 0.143 H 1.3°. Best body text is #FFFFFF at 10.06:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1542 |
|---|---|
| RGB | rgb(127, 21, 66) |
| HSL | hsl(335, 72%, 29%) |
| HSV | hsv(335, 83%, 50%) |
| CMYK | cmyk(0%, 83.5%, 48%, 50.2%) |
| CIE-LAB | lab(27.96, 46.59, 1.08) |
| CIE-LCH | lch(27.96, 46.60, 1.33°) |
| OKLab | oklab(39.77% 0.1432 0.0033) |
| OKLCH | oklch(39.77% 0.143 1.3) |
| XYZ | xyz(10.0048, 5.4431, 5.6770) |
| Luminance | 0.0544 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.62
Red Purple
#820747
ΔE00 2.27
Merlot
#730039
ΔE00 3.33
Mulberry
#920A4E
ΔE00 3.92
Reddish Purple
#910951
ΔE00 4.29
Purple Red
#990147
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1542 #157F52
analogous
#7F1577 #7F1542 #7F1D15
triadic
#7F1542 #427F15 #15427F
tetradic
#7F1542 #777F15 #157F52 #1D157F
square
#7F1542 #777F15 #157F52 #1D157F
split-complementary
#7F1542 #157F1D #15777F
monochromatic
#1A040E #4A0C27 #7F1542 #B41E5D #DD317A
Accessibility & contrast
On white
10.06
#7F1542 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.09
#7F1542 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1542
10.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1542 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1542 | 1.00 | 10.06 | 2.09 | 10.06 |
| #FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4C4940
Tritanopia (blue-blind)
#8A002A
Achromatopsia (no color)
#424242
Design tokens & code
CSS
--color: #7f1542; /* rgb */ color: rgb(127, 21, 66); /* oklch */ color: oklch(39.8% 0.143 1.3);
Tailwind
colors: {
custom: {
50: '#a96076',
500: '#7f1542',
950: '#000000',
},
}SCSS
$custom: #7f1542; $custom-light: #a96076; $custom-dark: #000000;
JSON
{
"hex": "#7f1542",
"rgb": {
"r": 127,
"g": 21,
"b": 66
},
"hsl": {
"h": 334.528,
"s": 71.622,
"l": 29.02
},
"oklch": {
"l": 0.39774,
"c": 0.14319,
"h": 1.3
},
"luminance": 0.05442
}Semantic roles & 50–950 ramp
primary
#7F1542
secondary
#3CB481
accent
#EEA239
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#110508
muted
#807A7B