#7B1938#7B1938
#7B1938 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.0% C 0.133 H 7.5°. Best body text is #FFFFFF at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1938 |
|---|---|
| RGB | rgb(123, 25, 56) |
| HSL | hsl(341, 66%, 29%) |
| HSV | hsv(341, 80%, 48%) |
| CMYK | cmyk(0%, 79.7%, 54.5%, 51.8%) |
| CIE-LAB | lab(27.28, 43.29, 6.74) |
| CIE-LCH | lch(27.28, 43.81, 8.85°) |
| OKLab | oklab(39.03% 0.1319 0.0174) |
| OKLCH | oklch(39.03% 0.133 7.5) |
| XYZ | xyz(9.2307, 5.1930, 4.2569) |
| Luminance | 0.0519 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Bordeaux
#7B002C
ΔE00 3.36
Wine (survey)
#80013F
ΔE00 3.97
Red Wine
#8C0034
ΔE00 4.07
Merlot
#730039
ΔE00 4.68
Red Purple
#820747
ΔE00 5.56
Wine
#722F37
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1938 #197B5C
analogous
#7B1969 #7B1938 #7B2B19
triadic
#7B1938 #387B19 #19387B
tetradic
#7B1938 #697B19 #197B5C #2B197B
square
#7B1938 #697B19 #197B5C #2B197B
split-complementary
#7B1938 #197B2B #19697B
monochromatic
#19050C #480F21 #7B1938 #AE234F #D7386A
Accessibility & contrast
On white
10.30
#7B1938 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7B1938 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1938
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1938 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1938 | 1.00 | 10.30 | 2.04 | 10.30 |
| #FFFFFF | 10.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.30 | 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: #7b1938; /* rgb */ color: rgb(123, 25, 56); /* oklch */ color: oklch(39.0% 0.133 7.5);
Tailwind
colors: {
custom: {
50: '#a7606e',
500: '#7b1938',
950: '#000000',
},
}SCSS
$custom: #7b1938; $custom-light: #a7606e; $custom-dark: #000000;
JSON
{
"hex": "#7b1938",
"rgb": {
"r": 123,
"g": 25,
"b": 56
},
"hsl": {
"h": 341.02,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.39027,
"c": 0.13306,
"h": 7.5
},
"luminance": 0.05192
}Semantic roles & 50–950 ramp
primary
#7B1938
secondary
#40AF8C
accent
#E9B33F
background
#FAF6F6
surface
#F4EBEB
border
#CEC6C6
text
#100507
muted
#7F7A7A