#7C1838#7C1838
#7C1838 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.1% C 0.135 H 7.5°. Best body text is #FFFFFF at 10.27:1 contrast (WCAG AA passes).
Color values
| HEX | #7C1838 |
|---|---|
| RGB | rgb(124, 24, 56) |
| HSL | hsl(341, 68%, 29%) |
| HSV | hsv(341, 81%, 49%) |
| CMYK | cmyk(0%, 80.6%, 54.8%, 51.4%) |
| CIE-LAB | lab(27.37, 43.92, 6.89) |
| CIE-LCH | lch(27.37, 44.45, 8.92°) |
| OKLab | oklab(39.13% 0.1338 0.0177) |
| OKLCH | oklch(39.13% 0.135 7.5) |
| XYZ | xyz(9.3535, 5.2252, 4.2567) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.27
Red Wine
#8C0034
ΔE00 3.86
Wine (survey)
#80013F
ΔE00 3.90
Merlot
#730039
ΔE00 4.71
Red Purple
#820747
ΔE00 5.52
Purple Red
#990147
ΔE00 5.86
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C1838 #187C5C
analogous
#7C186A #7C1838 #7C2A18
triadic
#7C1838 #387C18 #18387C
tetradic
#7C1838 #6A7C18 #187C5C #2A187C
square
#7C1838 #6A7C18 #187C5C #2A187C
split-complementary
#7C1838 #187C2A #186A7C
monochromatic
#1A050C #490E21 #7C1838 #AF224F #D8366A
Accessibility & contrast
On white
10.27
#7C1838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7C1838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7C1838
10.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C1838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C1838 | 1.00 | 10.27 | 2.04 | 10.27 |
| #FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323439
Deuteranopia (green-blind)
#4C4836
Tritanopia (blue-blind)
#880026
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7c1838; /* rgb */ color: rgb(124, 24, 56); /* oklch */ color: oklch(39.1% 0.135 7.5);
Tailwind
colors: {
custom: {
50: '#a7606e',
500: '#7c1838',
950: '#000000',
},
}SCSS
$custom: #7c1838; $custom-light: #a7606e; $custom-dark: #000000;
JSON
{
"hex": "#7c1838",
"rgb": {
"r": 124,
"g": 24,
"b": 56
},
"hsl": {
"h": 340.8,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.3913,
"c": 0.13501,
"h": 7.5
},
"luminance": 0.05224
}Semantic roles & 50–950 ramp
primary
#7C1838
secondary
#3FB18C
accent
#EAB33D
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#110507
muted
#80797A