#7D1238#7D1238
#7D1238 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.141 H 6.7°. Best body text is #FFFFFF at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1238 |
|---|---|
| RGB | rgb(125, 18, 56) |
| HSL | hsl(339, 75%, 28%) |
| HSV | hsv(339, 86%, 49%) |
| CMYK | cmyk(0%, 85.6%, 55.2%, 51%) |
| CIE-LAB | lab(26.96, 45.96, 6.35) |
| CIE-LCH | lch(26.96, 46.39, 7.87°) |
| OKLab | oklab(38.87% 0.1403 0.0164) |
| OKLCH | oklch(38.87% 0.141 6.7) |
| XYZ | xyz(9.3885, 5.0795, 4.2267) |
| Luminance | 0.0508 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.19
Bordeaux
#7B002C
ΔE00 3.23
Red Wine
#8C0034
ΔE00 3.80
Merlot
#730039
ΔE00 4.11
Red Purple
#820747
ΔE00 4.95
Purple Red
#990147
ΔE00 5.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1238 #127D57
analogous
#7D126D #7D1238 #7D2212
triadic
#7D1238 #387D12 #12387D
tetradic
#7D1238 #6D7D12 #127D57 #22127D
square
#7D1238 #6D7D12 #127D57 #22127D
split-complementary
#7D1238 #127D22 #126D7D
monochromatic
#1B040C #480A20 #7D1238 #B21A50 #E0296A
Accessibility & contrast
On white
10.42
#7D1238 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.02
#7D1238 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1238
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1238 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1238 | 1.00 | 10.42 | 2.02 | 10.42 |
| #FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303239
Deuteranopia (green-blind)
#4C4735
Tritanopia (blue-blind)
#890023
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7d1238; /* rgb */ color: rgb(125, 18, 56); /* oklch */ color: oklch(38.9% 0.141 6.7);
Tailwind
colors: {
custom: {
50: '#a85e6e',
500: '#7d1238',
950: '#000000',
},
}SCSS
$custom: #7d1238; $custom-light: #a85e6e; $custom-dark: #000000;
JSON
{
"hex": "#7d1238",
"rgb": {
"r": 125,
"g": 18,
"b": 56
},
"hsl": {
"h": 338.692,
"s": 74.825,
"l": 28.039
},
"oklch": {
"l": 0.38868,
"c": 0.14128,
"h": 6.7
},
"luminance": 0.05078
}Semantic roles & 50–950 ramp
primary
#7D1238
secondary
#38B387
accent
#F1AF36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110507
muted
#80797A