#7F1231#7F1231
#7F1231 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.142 H 11.6°. Best body text is #FFFFFF at 10.33:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1231 |
|---|---|
| RGB | rgb(127, 18, 49) |
| HSL | hsl(343, 75%, 28%) |
| HSV | hsv(343, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 61.4%, 50.2%) |
| CIE-LAB | lab(27.21, 46.00, 11.51) |
| CIE-LCH | lch(27.21, 47.42, 14.05°) |
| OKLab | oklab(39.07% 0.1391 0.0285) |
| OKLCH | oklch(39.07% 0.142 11.6) |
| XYZ | xyz(9.5241, 5.1678, 3.4011) |
| Luminance | 0.0517 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 1.83
Red Wine
#8C0034
ΔE00 2.56
Wine Red
#7B0323
ΔE00 3.83
Burgundy
#800020
ΔE00 5.21
Maroon (survey)
#650021
ΔE00 5.68
Cranberry
#9E003A
ΔE00 5.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1231 #127F60
analogous
#7F1267 #7F1231 #7F2A12
triadic
#7F1231 #317F12 #12317F
tetradic
#7F1231 #677F12 #127F60 #2A127F
square
#7F1231 #677F12 #127F60 #2A127F
split-complementary
#7F1231 #127F2A #12677F
monochromatic
#1B040A #490A1C #7F1231 #B51A46 #E12B5E
Accessibility & contrast
On white
10.33
#7F1231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7F1231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1231
10.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1231 | 1.00 | 10.33 | 2.03 | 10.33 |
| #FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323231
Deuteranopia (green-blind)
#4E482E
Tritanopia (blue-blind)
#8C0020
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7f1231; /* rgb */ color: rgb(127, 18, 49); /* oklch */ color: oklch(39.1% 0.142 11.6);
Tailwind
colors: {
custom: {
50: '#ab5e68',
500: '#7f1231',
950: '#000000',
},
}SCSS
$custom: #7f1231; $custom-light: #ab5e68; $custom-dark: #000000;
JSON
{
"hex": "#7f1231",
"rgb": {
"r": 127,
"g": 18,
"b": 49
},
"hsl": {
"h": 342.936,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39068,
"c": 0.14194,
"h": 11.6
},
"luminance": 0.05166
}Semantic roles & 50–950 ramp
primary
#7F1231
secondary
#38B591
accent
#F2BC36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A