#7B1940#7B1940
#7B1940 is a dark, vivid pink. Relative luminance 0.053; OKLCH L 39.3% C 0.135 H 2.0°. Best body text is #FFFFFF at 10.22:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1940 |
|---|---|
| RGB | rgb(123, 25, 64) |
| HSL | hsl(336, 66%, 29%) |
| HSV | hsv(336, 80%, 48%) |
| CMYK | cmyk(0%, 79.7%, 48%, 51.8%) |
| CIE-LAB | lab(27.51, 44.02, 1.67) |
| CIE-LCH | lch(27.51, 44.05, 2.17°) |
| OKLab | oklab(39.28% 0.135 0.0048) |
| OKLCH | oklch(39.28% 0.135 2) |
| XYZ | xyz(9.4422, 5.2776, 5.3710) |
| Luminance | 0.0528 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.25
Red Purple
#820747
ΔE00 3.07
Merlot
#730039
ΔE00 3.22
Mulberry
#920A4E
ΔE00 4.82
Reddish Purple
#910951
ΔE00 5.20
Purple Red
#990147
ΔE00 5.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1940 #197B54
analogous
#7B1971 #7B1940 #7B2319
triadic
#7B1940 #407B19 #19407B
tetradic
#7B1940 #717B19 #197B54 #23197B
square
#7B1940 #717B19 #197B54 #23197B
split-complementary
#7B1940 #197B23 #19717B
monochromatic
#19050D #480F26 #7B1940 #AE235A #D73877
Accessibility & contrast
On white
10.22
#7B1940 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.06
#7B1940 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1940
10.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1940 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1940 | 1.00 | 10.22 | 2.06 | 10.22 |
| #FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#303541
Deuteranopia (green-blind)
#4B483E
Tritanopia (blue-blind)
#86042A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1940; /* rgb */ color: rgb(123, 25, 64); /* oklch */ color: oklch(39.3% 0.135 2.0);
Tailwind
colors: {
custom: {
50: '#a66074',
500: '#7b1940',
950: '#000000',
},
}SCSS
$custom: #7b1940; $custom-light: #a66074; $custom-dark: #000000;
JSON
{
"hex": "#7b1940",
"rgb": {
"r": 123,
"g": 25,
"b": 64
},
"hsl": {
"h": 336.122,
"s": 66.216,
"l": 29.02
},
"oklch": {
"l": 0.39276,
"c": 0.13512,
"h": 2
},
"luminance": 0.05276
}Semantic roles & 50–950 ramp
primary
#7B1940
secondary
#40AF83
accent
#E9A53F
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100508
muted
#7F7A7B