#7F1236#7F1236
#7F1236 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.143 H 8.5°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1236 |
|---|---|
| RGB | rgb(127, 18, 54) |
| HSL | hsl(340, 75%, 28%) |
| HSV | hsv(340, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 57.5%, 50.2%) |
| CIE-LAB | lab(27.33, 46.37, 8.29) |
| CIE-LCH | lch(27.33, 47.10, 10.14°) |
| OKLab | oklab(39.2% 0.1411 0.021) |
| OKLCH | oklch(39.2% 0.143 8.5) |
| XYZ | xyz(9.6355, 5.2124, 3.9880) |
| Luminance | 0.0521 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 2.54
Red Wine
#8C0034
ΔE00 2.92
Wine (survey)
#80013F
ΔE00 4.12
Merlot
#730039
ΔE00 5.10
Wine Red
#7B0323
ΔE00 5.54
Purple Red
#990147
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1236 #127F5B
analogous
#7F126C #7F1236 #7F2412
triadic
#7F1236 #367F12 #12367F
tetradic
#7F1236 #6C7F12 #127F5B #24127F
square
#7F1236 #6C7F12 #127F5B #24127F
split-complementary
#7F1236 #127F24 #126C7F
monochromatic
#1B040B #490A1F #7F1236 #B51A4D #E12B67
Accessibility & contrast
On white
10.28
#7F1236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7F1236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1236
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1236 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313337
Deuteranopia (green-blind)
#4D4833
Tritanopia (blue-blind)
#8B0022
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1236; /* rgb */ color: rgb(127, 18, 54); /* oklch */ color: oklch(39.2% 0.143 8.5);
Tailwind
colors: {
custom: {
50: '#aa5e6c',
500: '#7f1236',
950: '#000000',
},
}SCSS
$custom: #7f1236; $custom-light: #aa5e6c; $custom-dark: #000000;
JSON
{
"hex": "#7f1236",
"rgb": {
"r": 127,
"g": 18,
"b": 54
},
"hsl": {
"h": 340.183,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39199,
"c": 0.14268,
"h": 8.5
},
"luminance": 0.05211
}Semantic roles & 50–950 ramp
primary
#7F1236
secondary
#38B58C
accent
#F2B436
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A