#7C1231#7C1231
#7C1231 is a dark, vivid pink. Relative luminance 0.049; OKLCH L 38.5% C 0.139 H 10.9°. Best body text is #FFFFFF at 10.56:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1231 |
|---|---|
| RGB | rgb(124, 18, 49) |
| HSL | hsl(342, 75%, 28%) |
| HSV | hsv(342, 85%, 49%) |
| CMYK | cmyk(0%, 85.5%, 60.5%, 51.4%) |
| CIE-LAB | lab(26.57, 45.13, 10.53) |
| CIE-LCH | lch(26.57, 46.34, 13.13°) |
| OKLab | oklab(38.48% 0.1367 0.0263) |
| OKLCH | oklch(38.48% 0.139 10.9) |
| XYZ | xyz(9.0838, 4.9408, 3.3805) |
| Luminance | 0.0494 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 1.61
Red Wine
#8C0034
ΔE00 3.07
Wine Red
#7B0323
ΔE00 4.12
Maroon (survey)
#650021
ΔE00 5.20
Wine (survey)
#80013F
ΔE00 5.48
Burgundy
#800020
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1231 #127C5D
analogous
#7C1266 #7C1231 #7C2812
triadic
#7C1231 #317C12 #12317C
tetradic
#7C1231 #667C12 #127C5D #28127C
square
#7C1231 #667C12 #127C5D #28127C
split-complementary
#7C1231 #127C28 #12667C
monochromatic
#1B040B #470A1C #7C1231 #B11A46 #E0295E
Accessibility & contrast
On white
10.56
#7C1231 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.99
#7C1231 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1231
10.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1231 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1231 | 1.00 | 10.56 | 1.99 | 10.56 |
| #FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313131
Deuteranopia (green-blind)
#4C462E
Tritanopia (blue-blind)
#880020
Achromatopsia (no color)
#3F3F3F
Design tokens & code
CSS
--color: #7c1231; /* rgb */ color: rgb(124, 18, 49); /* oklch */ color: oklch(38.5% 0.139 10.9);
Tailwind
colors: {
custom: {
50: '#a85e68',
500: '#7c1231',
950: '#000000',
},
}SCSS
$custom: #7c1231; $custom-light: #a85e68; $custom-dark: #000000;
JSON
{
"hex": "#7c1231",
"rgb": {
"r": 124,
"g": 18,
"b": 49
},
"hsl": {
"h": 342.453,
"s": 74.648,
"l": 27.843
},
"oklch": {
"l": 0.38482,
"c": 0.13916,
"h": 10.9
},
"luminance": 0.04939
}Semantic roles & 50–950 ramp
primary
#7C1231
secondary
#38B28E
accent
#F1BB37
background
#FBF5F6
surface
#F6EAEB
border
#D0C6C6
text
#110506
muted
#80797A