#7B1F4D#7B1F4D
#7B1F4D is a dark, vivid pink. Relative luminance 0.057; OKLCH L 40.3% C 0.133 H 354.3°. Best body text is #FFFFFF at 9.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1F4D |
|---|---|
| RGB | rgb(123, 31, 77) |
| HSL | hsl(330, 60%, 30%) |
| HSV | hsv(330, 75%, 48%) |
| CMYK | cmyk(0%, 74.8%, 37.4%, 51.8%) |
| CIE-LAB | lab(28.72, 43.29, -5.25) |
| CIE-LCH | lch(28.72, 43.61, 353.09°) |
| OKLab | oklab(40.31% 0.1327 -0.0133) |
| OKLCH | oklch(40.31% 0.133 354.3) |
| XYZ | xyz(9.9985, 5.7279, 7.5988) |
| Luminance | 0.0573 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Purple
#820747
ΔE00 2.97
Reddish Purple
#910951
ΔE00 4.38
Wine (survey)
#80013F
ΔE00 4.43
Velvet
#750851
ΔE00 4.64
Mulberry
#920A4E
ΔE00 4.79
Merlot
#730039
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1F4D #1F7B4D
analogous
#7B1F7B #7B1F4D #7B1F1F
triadic
#7B1F4D #4D7B1F #1F4D7B
tetradic
#7B1F4D #7B7B1F #1F7B4D #1F1F7B
square
#7B1F4D #7B7B1F #1F7B4D #1F1F7B
split-complementary
#7B1F4D #1F7B1F #1F7B7B
monochromatic
#190610 #4A132E #7B1F4D #AC2B6C #D0448A
Accessibility & contrast
On white
9.79
#7B1F4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.15
#7B1F4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1F4D
9.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1F4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1F4D | 1.00 | 9.79 | 2.15 | 9.79 |
| #FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.15 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#30394E
Deuteranopia (green-blind)
#4A4A4B
Tritanopia (blue-blind)
#851633
Achromatopsia (no color)
#444444
Design tokens & code
CSS
--color: #7b1f4d; /* rgb */ color: rgb(123, 31, 77); /* oklch */ color: oklch(40.3% 0.133 354.3);
Tailwind
colors: {
custom: {
50: '#a5637e',
500: '#7b1f4d',
950: '#000000',
},
}SCSS
$custom: #7b1f4d; $custom-light: #a5637e; $custom-dark: #000000;
JSON
{
"hex": "#7b1f4d",
"rgb": {
"r": 123,
"g": 31,
"b": 77
},
"hsl": {
"h": 330,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.40305,
"c": 0.13336,
"h": 354.3
},
"luminance": 0.05727
}Semantic roles & 50–950 ramp
primary
#7B1F4D
secondary
#48AE7B
accent
#E39445
background
#FAF6F7
surface
#F4EBEE
border
#CEC6C9
text
#10060A
muted
#7F7A7C