#7F1237#7F1237
#7F1237 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.143 H 7.9°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1237 |
|---|---|
| RGB | rgb(127, 18, 55) |
| HSL | hsl(340, 75%, 28%) |
| HSV | hsv(340, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 56.7%, 50.2%) |
| CIE-LAB | lab(27.36, 46.44, 7.65) |
| CIE-LCH | lch(27.36, 47.07, 9.35°) |
| OKLab | oklab(39.23% 0.1415 0.0195) |
| OKLCH | oklch(39.23% 0.143 7.9) |
| XYZ | xyz(9.6592, 5.2219, 4.1130) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.81
Red Wine
#8C0034
ΔE00 3.12
Wine (survey)
#80013F
ΔE00 3.78
Merlot
#730039
ΔE00 4.82
Purple Red
#990147
ΔE00 5.42
Red Purple
#820747
ΔE00 5.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1237 #127F5A
analogous
#7F126D #7F1237 #7F2312
triadic
#7F1237 #377F12 #12377F
tetradic
#7F1237 #6D7F12 #127F5A #23127F
square
#7F1237 #6D7F12 #127F5A #23127F
split-complementary
#7F1237 #127F23 #126D7F
monochromatic
#1B040C #490A20 #7F1237 #B51A4E #E12B68
Accessibility & contrast
On white
10.27
#7F1237 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1237 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1237
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1237 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1237 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313338
Deuteranopia (green-blind)
#4D4834
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1237; /* rgb */ color: rgb(127, 18, 55); /* oklch */ color: oklch(39.2% 0.143 7.9);
Tailwind
colors: {
custom: {
50: '#aa5e6d',
500: '#7f1237',
950: '#000000',
},
}SCSS
$custom: #7f1237; $custom-light: #aa5e6d; $custom-dark: #000000;
JSON
{
"hex": "#7f1237",
"rgb": {
"r": 127,
"g": 18,
"b": 55
},
"hsl": {
"h": 339.633,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39227,
"c": 0.14286,
"h": 7.9
},
"luminance": 0.0522
}Semantic roles & 50–950 ramp
primary
#7F1237
secondary
#38B58A
accent
#F2B236
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A