#7B1742#7B1742
#7B1742 is a dark, vivid pink. Relative luminance 0.052; OKLCH L 39.2% C 0.138 H 0.3°. Best body text is #FFFFFF at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1742 |
|---|---|
| RGB | rgb(123, 23, 66) |
| HSL | hsl(334, 68%, 29%) |
| HSV | hsv(334, 81%, 48%) |
| CMYK | cmyk(0%, 81.3%, 46.3%, 51.8%) |
| CIE-LAB | lab(27.35, 44.86, 0.09) |
| CIE-LCH | lch(27.35, 44.86, 0.11°) |
| OKLab | oklab(39.18% 0.1378 0.0007) |
| OKLCH | oklch(39.18% 0.138 0.3) |
| XYZ | xyz(9.4589, 5.2184, 5.6624) |
| Luminance | 0.0522 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 2.01
Red Purple
#820747
ΔE00 2.32
Merlot
#730039
ΔE00 2.95
Mulberry
#920A4E
ΔE00 4.52
Reddish Purple
#910951
ΔE00 4.72
Berry
#990F4B
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1742 #177B50
analogous
#7B1774 #7B1742 #7B1E17
triadic
#7B1742 #427B17 #17427B
tetradic
#7B1742 #747B17 #177B50 #1E177B
square
#7B1742 #747B17 #177B50 #1E177B
split-complementary
#7B1742 #177B1E #17747B
monochromatic
#1A050E #470D26 #7B1742 #AF215E #D9337B
Accessibility & contrast
On white
10.28
#7B1742 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.04
#7B1742 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1742
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1742 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1742 | 1.00 | 10.28 | 2.04 | 10.28 |
| #FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.04 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 10.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F3443
Deuteranopia (green-blind)
#4A4740
Tritanopia (blue-blind)
#86022A
Achromatopsia (no color)
#414141
Design tokens & code
CSS
--color: #7b1742; /* rgb */ color: rgb(123, 23, 66); /* oklch */ color: oklch(39.2% 0.138 0.3);
Tailwind
colors: {
custom: {
50: '#a66076',
500: '#7b1742',
950: '#000000',
},
}SCSS
$custom: #7b1742; $custom-light: #a66076; $custom-dark: #000000;
JSON
{
"hex": "#7b1742",
"rgb": {
"r": 123,
"g": 23,
"b": 66
},
"hsl": {
"h": 334.2,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.39177,
"c": 0.13784,
"h": 0.3
},
"luminance": 0.05217
}Semantic roles & 50–950 ramp
primary
#7B1742
secondary
#3EB07F
accent
#EBA03C
background
#FAF5F7
surface
#F4EAED
border
#CEC6C8
text
#100508
muted
#7F797B