#7F1241#7F1241
#7F1241 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.5% C 0.145 H 1.5°. Best body text is #FFFFFF at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1241 |
|---|---|
| RGB | rgb(127, 18, 65) |
| HSL | hsl(334, 75%, 28%) |
| HSV | hsv(334, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 48.8%, 50.2%) |
| CIE-LAB | lab(27.65, 47.30, 1.30) |
| CIE-LCH | lch(27.65, 47.32, 1.57°) |
| OKLab | oklab(39.53% 0.1454 0.0038) |
| OKLCH | oklch(39.53% 0.145 1.5) |
| XYZ | xyz(9.9237, 5.3277, 5.5058) |
| Luminance | 0.0533 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 1.30
Red Purple
#820747
ΔE00 2.23
Merlot
#730039
ΔE00 3.10
Mulberry
#920A4E
ΔE00 3.99
Reddish Purple
#910951
ΔE00 4.37
Purple Red
#990147
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1241 #127F50
analogous
#7F1277 #7F1241 #7F1912
triadic
#7F1241 #417F12 #12417F
tetradic
#7F1241 #777F12 #127F50 #19127F
square
#7F1241 #777F12 #127F50 #19127F
split-complementary
#7F1241 #127F19 #12777F
monochromatic
#1B040E #490A26 #7F1241 #B51A5C #E12B79
Accessibility & contrast
On white
10.17
#7F1241 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.07
#7F1241 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1241
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1241 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1241 | 1.00 | 10.17 | 2.07 | 10.17 |
| #FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2E3442
Deuteranopia (green-blind)
#4B493F
Tritanopia (blue-blind)
#8B0028
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1241; /* rgb */ color: rgb(127, 18, 65); /* oklch */ color: oklch(39.5% 0.145 1.5);
Tailwind
colors: {
custom: {
50: '#a95f75',
500: '#7f1241',
950: '#000000',
},
}SCSS
$custom: #7f1241; $custom-light: #a95f75; $custom-dark: #000000;
JSON
{
"hex": "#7f1241",
"rgb": {
"r": 127,
"g": 18,
"b": 65
},
"hsl": {
"h": 334.128,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39535,
"c": 0.14543,
"h": 1.5
},
"luminance": 0.05326
}Semantic roles & 50–950 ramp
primary
#7F1241
secondary
#38B57F
accent
#F2A136
background
#FBF5F7
surface
#F6EAED
border
#D0C6C8
text
#110508
muted
#80797B