#7F1238#7F1238
#7F1238 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.3% C 0.143 H 7.2°. Best body text is #FFFFFF at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1238 |
|---|---|
| RGB | rgb(127, 18, 56) |
| HSL | hsl(339, 75%, 28%) |
| HSV | hsv(339, 86%, 50%) |
| CMYK | cmyk(0%, 85.8%, 55.9%, 50.2%) |
| CIE-LAB | lab(27.38, 46.52, 7.01) |
| CIE-LCH | lch(27.38, 47.05, 8.57°) |
| OKLab | oklab(39.26% 0.1419 0.018) |
| OKLCH | oklch(39.26% 0.143 7.2) |
| XYZ | xyz(9.6834, 5.2316, 4.2405) |
| Luminance | 0.0523 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.09
Red Wine
#8C0034
ΔE00 3.34
Wine (survey)
#80013F
ΔE00 3.45
Merlot
#730039
ΔE00 4.56
Red Purple
#820747
ΔE00 5.19
Purple Red
#990147
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1238 #127F59
analogous
#7F126E #7F1238 #7F2312
triadic
#7F1238 #387F12 #12387F
tetradic
#7F1238 #6E7F12 #127F59 #23127F
square
#7F1238 #6E7F12 #127F59 #23127F
split-complementary
#7F1238 #127F23 #126E7F
monochromatic
#1B040C #490A20 #7F1238 #B51A50 #E12B6A
Accessibility & contrast
On white
10.26
#7F1238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1238
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1238 | 1.00 | 10.26 | 2.05 | 10.26 |
| #FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#8B0023
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1238; /* rgb */ color: rgb(127, 18, 56); /* oklch */ color: oklch(39.3% 0.143 7.2);
Tailwind
colors: {
custom: {
50: '#aa5e6e',
500: '#7f1238',
950: '#000000',
},
}SCSS
$custom: #7f1238; $custom-light: #aa5e6e; $custom-dark: #000000;
JSON
{
"hex": "#7f1238",
"rgb": {
"r": 127,
"g": 18,
"b": 56
},
"hsl": {
"h": 339.083,
"s": 75.172,
"l": 28.431
},
"oklch": {
"l": 0.39255,
"c": 0.14305,
"h": 7.2
},
"luminance": 0.0523
}Semantic roles & 50–950 ramp
primary
#7F1238
secondary
#38B589
accent
#F2B036
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A