#7F1242#7F1242
#7F1242 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.6% C 0.146 H 0.9°. Best body text is #FFFFFF at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1242 |
|---|---|
| RGB | rgb(127, 18, 66) |
| HSL | hsl(334, 75%, 28%) |
| HSV | hsv(334, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 48%, 50.2%) |
| CIE-LAB | lab(27.68, 47.39, 0.67) |
| CIE-LCH | lch(27.68, 47.40, 0.81°) |
| OKLab | oklab(39.57% 0.1457 0.0022) |
| OKLCH | oklch(39.57% 0.146 0.9) |
| XYZ | xyz(9.9529, 5.3394, 5.6597) |
| Luminance | 0.0534 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.31
Red Purple
#820747
ΔE00 1.93
Merlot
#730039
ΔE00 3.09
Mulberry
#920A4E
ΔE00 3.86
Reddish Purple
#910951
ΔE00 4.17
Purple Red
#990147
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1242 #127F4F
analogous
#7F1278 #7F1242 #7F1812
triadic
#7F1242 #427F12 #12427F
tetradic
#7F1242 #787F12 #127F4F #18127F
square
#7F1242 #787F12 #127F4F #18127F
split-complementary
#7F1242 #127F18 #12787F
monochromatic
#1B040E #490A26 #7F1242 #B51A5E #E12B7B
Accessibility & contrast
On white
10.16
#7F1242 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1242 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1242
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1242 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1242 | 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)
#2E3443
Deuteranopia (green-blind)
#4B4940
Tritanopia (blue-blind)
#8B0029
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1242; /* rgb */ color: rgb(127, 18, 66); /* oklch */ color: oklch(39.6% 0.146 0.9);
Tailwind
colors: {
custom: {
50: '#a95f76',
500: '#7f1242',
950: '#000000',
},
}SCSS
$custom: #7f1242; $custom-light: #a95f76; $custom-dark: #000000;
JSON
{
"hex": "#7f1242",
"rgb": {
"r": 127,
"g": 18,
"b": 66
},
"hsl": {
"h": 333.578,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39569,
"c": 0.14576,
"h": 0.9
},
"luminance": 0.05338
}Semantic roles & 50–950 ramp
primary
#7F1242
secondary
#38B57E
accent
#F29F36
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B