#7B1942#7B1942
#7B1942 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.136 H 0.7°. Best body text is #FFFFFF at 10.19:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1942 |
|---|---|
| RGB | rgb(123, 25, 66) |
| HSL | hsl(335, 66%, 29%) |
| HSV | hsv(335, 80%, 48%) |
| CMYK | cmyk(0%, 79.7%, 46.3%, 51.8%) |
| CIE-LAB | lab(27.58, 44.22, 0.42) |
| CIE-LCH | lch(27.58, 44.22, 0.54°) |
| OKLab | oklab(39.34% 0.1358 0.0016) |
| OKLCH | oklch(39.34% 0.136 0.7) |
| XYZ | xyz(9.5001, 5.3008, 5.6761) |
| Luminance | 0.0530 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.21
Red Purple
#820747
ΔE00 2.58
Merlot
#730039
ΔE00 3.17
Mulberry
#920A4E
ΔE00 4.58
Reddish Purple
#910951
ΔE00 4.83
Berry
#990F4B
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1942 #197B52
analogous
#7B1973 #7B1942 #7B2119
triadic
#7B1942 #427B19 #19427B
tetradic
#7B1942 #737B19 #197B52 #21197B
square
#7B1942 #737B19 #197B52 #21197B
split-complementary
#7B1942 #197B21 #19737B
monochromatic
#19050E #480F27 #7B1942 #AE235D #D7387A
Accessibility & contrast
On white
10.19
#7B1942 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7B1942 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1942
10.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1942 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1942 | 1.00 | 10.19 | 2.06 | 10.19 |
| #FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.19 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303543
Deuteranopia (green-blind)
#4A4840
Tritanopia (blue-blind)
#86052B
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1942; /* rgb */ color: rgb(123, 25, 66); /* oklch */ color: oklch(39.3% 0.136 0.7);
Tailwind
colors: {
custom: {
50: '#a66076',
500: '#7b1942',
950: '#000000',
},
}SCSS
$custom: #7b1942; $custom-light: #a66076; $custom-dark: #000000;
JSON
{
"hex": "#7b1942",
"rgb": {
"r": 123,
"g": 25,
"b": 66
},
"hsl": {
"h": 334.898,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.39343,
"c": 0.13578,
"h": 0.7
},
"luminance": 0.053
}Semantic roles & 50–950 ramp
primary
#7B1942
secondary
#40AF81
accent
#E9A23F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B