#7B1561#7B1561
#7B1561 is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.4% C 0.156 H 341.0°. Best body text is #FFFFFF at 9.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7B1561 |
|---|---|
| RGB | rgb(123, 21, 97) |
| HSL | hsl(315, 71%, 28%) |
| HSV | hsv(315, 83%, 48%) |
| CMYK | cmyk(0%, 82.9%, 21.1%, 51.8%) |
| CIE-LAB | lab(28.41, 49.21, -18.87) |
| CIE-LCH | lch(28.41, 52.70, 339.02°) |
| OKLab | oklab(40.36% 0.1476 -0.0509) |
| OKLCH | oklch(40.36% 0.156 341) |
| XYZ | xyz(10.5946, 5.6115, 11.8321) |
| Luminance | 0.0561 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Rich Purple
#720058
ΔE00 2.86
Velvet
#750851
ΔE00 3.46
Darkish Purple
#751973
ΔE00 4.97
Grape Purple
#5D1451
ΔE00 6.03
Grape
#6C3461
ΔE00 6.50
Purple
#800080
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B1561 #157B2F
analogous
#62157B #7B1561 #7B152E
triadic
#7B1561 #617B15 #15617B
tetradic
#7B1561 #7B6215 #157B2F #152E7B
square
#7B1561 #7B6215 #157B2F #152E7B
split-complementary
#7B1561 #2E7B15 #157B62
monochromatic
#1A0415 #470C38 #7B1561 #AF1E8A #DB2FAF
Accessibility & contrast
On white
9.90
#7B1561 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.12
#7B1561 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B1561
9.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B1561 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B1561 | 1.00 | 9.90 | 2.12 | 9.90 |
| #FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F3963
Deuteranopia (green-blind)
#40495F
Tritanopia (blue-blind)
#83183A
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b1561; /* rgb */ color: rgb(123, 21, 97); /* oklch */ color: oklch(40.4% 0.156 341.0);
Tailwind
colors: {
custom: {
50: '#a5608e',
500: '#7b1561',
950: '#000000',
},
}SCSS
$custom: #7b1561; $custom-light: #a5608e; $custom-dark: #000000;
JSON
{
"hex": "#7b1561",
"rgb": {
"r": 123,
"g": 21,
"b": 97
},
"hsl": {
"h": 315.294,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.40363,
"c": 0.15611,
"h": 341
},
"luminance": 0.0561
}Semantic roles & 50–950 ramp
primary
#7B1561
secondary
#3BB059
accent
#EE683A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D