#7B1F40#7B1F40
#7B1F40 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 39.8% C 0.128 H 3.4°. Best body text is #FFFFFF at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F40 |
|---|---|
| RGB | rgb(123, 31, 64) |
| HSL | hsl(338, 60%, 30%) |
| HSV | hsv(338, 75%, 48%) |
| CMYK | cmyk(0%, 74.8%, 48%, 51.8%) |
| CIE-LAB | lab(28.28, 41.86, 2.78) |
| CIE-LCH | lch(28.28, 41.96, 3.80°) |
| OKLab | oklab(39.84% 0.1281 0.0076) |
| OKLCH | oklch(39.84% 0.128 3.4) |
| XYZ | xyz(9.5845, 5.5623, 5.4184) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Wine (survey)
#80013F
ΔE00 3.26
Red Purple
#820747
ΔE00 4.06
Merlot
#730039
ΔE00 4.19
Mulberry
#920A4E
ΔE00 5.28
Bordeaux
#7B002C
ΔE00 5.60
Reddish Purple
#910951
ΔE00 5.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F40 #1F7B5A
analogous
#7B1F6E #7B1F40 #7B2C1F
triadic
#7B1F40 #407B1F #1F407B
tetradic
#7B1F40 #6E7B1F #1F7B5A #2C1F7B
square
#7B1F40 #6E7B1F #1F7B5A #2C1F7B
split-complementary
#7B1F40 #1F7B2C #1F6E7B
monochromatic
#19060D #4A1327 #7B1F40 #AC2B59 #D04476
Accessibility & contrast
On white
9.94
#7B1F40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7B1F40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F40
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F40 | 1.00 | 9.94 | 2.11 | 9.94 |
| #FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#343741
Deuteranopia (green-blind)
#4C493E
Tritanopia (blue-blind)
#860F2D
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b1f40; /* rgb */ color: rgb(123, 31, 64); /* oklch */ color: oklch(39.8% 0.128 3.4);
Tailwind
colors: {
custom: {
50: '#a66374',
500: '#7b1f40',
950: '#000000',
},
}SCSS
$custom: #7b1f40; $custom-light: #a66374; $custom-dark: #000000;
JSON
{
"hex": "#7b1f40",
"rgb": {
"r": 123,
"g": 31,
"b": 64
},
"hsl": {
"h": 338.478,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.39842,
"c": 0.12834,
"h": 3.4
},
"luminance": 0.05561
}Semantic roles & 50–950 ramp
primary
#7B1F40
secondary
#48AE89
accent
#E3AA45
background
#FAF6F7
surface
#F4EBED
border
#CEC6C8
text
#100608
muted
#7F7A7B