#7D1231#7D1231
#7D1231 is a dark, vivid pink. Relative luminance 0.050; OKLCH L 38.7% C 0.140 H 11.1°. Best body text is #FFFFFF at 10.49:1 contrast (WCAG AA passes).
Color values
| HEX | #7D1231 |
|---|---|
| RGB | rgb(125, 18, 49) |
| HSL | hsl(343, 75%, 28%) |
| HSV | hsv(343, 86%, 49%) |
| CMYK | cmyk(0%, 85.6%, 60.8%, 51%) |
| CIE-LAB | lab(26.78, 45.42, 10.86) |
| CIE-LCH | lch(26.78, 46.70, 13.44°) |
| OKLab | oklab(38.68% 0.1375 0.027) |
| OKLCH | oklch(38.68% 0.14 11.1) |
| XYZ | xyz(9.2291, 5.0157, 3.3873) |
| Luminance | 0.0501 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 1.65
Red Wine
#8C0034
ΔE00 2.89
Wine Red
#7B0323
ΔE00 4.01
Maroon (survey)
#650021
ΔE00 5.35
Burgundy
#800020
ΔE00 5.49
Wine (survey)
#80013F
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D1231 #127D5E
analogous
#7D1266 #7D1231 #7D2912
triadic
#7D1231 #317D12 #12317D
tetradic
#7D1231 #667D12 #127D5E #29127D
square
#7D1231 #667D12 #127D5E #29127D
split-complementary
#7D1231 #127D29 #12667D
monochromatic
#1B040A #480A1C #7D1231 #B21A46 #E0295E
Accessibility & contrast
On white
10.49
#7D1231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.00
#7D1231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7D1231
10.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D1231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D1231 | 1.00 | 10.49 | 2.00 | 10.49 |
| #FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323131
Deuteranopia (green-blind)
#4D472E
Tritanopia (blue-blind)
#890020
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7d1231; /* rgb */ color: rgb(125, 18, 49); /* oklch */ color: oklch(38.7% 0.140 11.1);
Tailwind
colors: {
custom: {
50: '#a95e68',
500: '#7d1231',
950: '#000000',
},
}SCSS
$custom: #7d1231; $custom-light: #a95e68; $custom-dark: #000000;
JSON
{
"hex": "#7d1231",
"rgb": {
"r": 125,
"g": 18,
"b": 49
},
"hsl": {
"h": 342.617,
"s": 74.825,
"l": 28.039
},
"oklch": {
"l": 0.38677,
"c": 0.14009,
"h": 11.1
},
"luminance": 0.05014
}Semantic roles & 50–950 ramp
primary
#7D1231
secondary
#38B38F
accent
#F1BB36
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A