#7B1838#7B1838
#7B1838 is a dark, vivid pink. Relative luminance 0.051; OKLCH L 38.9% C 0.134 H 7.3°. Best body text is #FFFFFF at 10.34:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1838 |
|---|---|
| RGB | rgb(123, 24, 56) |
| HSL | hsl(341, 67%, 29%) |
| HSV | hsv(341, 80%, 48%) |
| CMYK | cmyk(0%, 80.5%, 54.5%, 51.8%) |
| CIE-LAB | lab(27.16, 43.62, 6.57) |
| CIE-LCH | lch(27.16, 44.11, 8.57°) |
| OKLab | oklab(38.94% 0.133 0.017) |
| OKLCH | oklch(38.94% 0.134 7.3) |
| XYZ | xyz(9.2097, 5.1510, 4.2499) |
| Luminance | 0.0515 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.35
Wine (survey)
#80013F
ΔE00 3.81
Red Wine
#8C0034
ΔE00 4.08
Merlot
#730039
ΔE00 4.52
Red Purple
#820747
ΔE00 5.42
Purple Red
#990147
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1838 #187B5B
analogous
#7B186A #7B1838 #7B2A18
triadic
#7B1838 #387B18 #18387B
tetradic
#7B1838 #6A7B18 #187B5B #2A187B
square
#7B1838 #6A7B18 #187B5B #2A187B
split-complementary
#7B1838 #187B2A #186A7B
monochromatic
#1A050C #480E21 #7B1838 #AE224F #D8366A
Accessibility & contrast
On white
10.34
#7B1838 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.03
#7B1838 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1838
10.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1838 | 1.00 | 10.34 | 2.03 | 10.34 |
| #FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323439
Deuteranopia (green-blind)
#4C4736
Tritanopia (blue-blind)
#870026
Achromatopsia (no color)
#404040
Design tokens & code
CSS
--color: #7b1838; /* rgb */ color: rgb(123, 24, 56); /* oklch */ color: oklch(38.9% 0.134 7.3);
Tailwind
colors: {
custom: {
50: '#a7606e',
500: '#7b1838',
950: '#000000',
},
}SCSS
$custom: #7b1838; $custom-light: #a7606e; $custom-dark: #000000;
JSON
{
"hex": "#7b1838",
"rgb": {
"r": 123,
"g": 24,
"b": 56
},
"hsl": {
"h": 340.606,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.38941,
"c": 0.13406,
"h": 7.3
},
"luminance": 0.0515
}Semantic roles & 50–950 ramp
primary
#7B1838
secondary
#3FB08B
accent
#EAB23E
background
#FAF5F6
surface
#F4EAEB
border
#CEC6C6
text
#100507
muted
#7F797A