#7F1338#7F1338
#7F1338 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.142 H 7.4°. Best body text is #FFFFFF at 10.23:1 contrast (WCAG AA passes).
Color values
| HEX | #7F1338 |
|---|---|
| RGB | rgb(127, 19, 56) |
| HSL | hsl(339, 74%, 29%) |
| HSV | hsv(339, 85%, 50%) |
| CMYK | cmyk(0%, 85%, 55.9%, 50.2%) |
| CIE-LAB | lab(27.48, 46.26, 7.14) |
| CIE-LCH | lch(27.48, 46.81, 8.77°) |
| OKLab | oklab(39.32% 0.1411 0.0183) |
| OKLCH | oklch(39.32% 0.142 7.4) |
| XYZ | xyz(9.7000, 5.2647, 4.2460) |
| Luminance | 0.0526 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.08
Red Wine
#8C0034
ΔE00 3.31
Wine (survey)
#80013F
ΔE00 3.56
Merlot
#730039
ΔE00 4.67
Red Purple
#820747
ΔE00 5.29
Purple Red
#990147
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F1338 #137F5A
analogous
#7F136E #7F1338 #7F2413
triadic
#7F1338 #387F13 #13387F
tetradic
#7F1338 #6E7F13 #137F5A #24137F
square
#7F1338 #6E7F13 #137F5A #24137F
split-complementary
#7F1338 #137F24 #136E7F
monochromatic
#1B040C #4A0B21 #7F1338 #B41B4F #E02D6A
Accessibility & contrast
On white
10.23
#7F1338 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.05
#7F1338 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F1338
10.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F1338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F1338 | 1.00 | 10.23 | 2.05 | 10.23 |
| #FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.23 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313339
Deuteranopia (green-blind)
#4D4835
Tritanopia (blue-blind)
#8B0024
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7f1338; /* rgb */ color: rgb(127, 19, 56); /* oklch */ color: oklch(39.3% 0.142 7.4);
Tailwind
colors: {
custom: {
50: '#aa5f6e',
500: '#7f1338',
950: '#000000',
},
}SCSS
$custom: #7f1338; $custom-light: #aa5f6e; $custom-dark: #000000;
JSON
{
"hex": "#7f1338",
"rgb": {
"r": 127,
"g": 19,
"b": 56
},
"hsl": {
"h": 339.444,
"s": 73.973,
"l": 28.627
},
"oklch": {
"l": 0.39322,
"c": 0.14226,
"h": 7.4
},
"luminance": 0.05263
}Semantic roles & 50–950 ramp
primary
#7F1338
secondary
#39B48A
accent
#F1B137
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A