#7B155E#7B155E
#7B155E is a dark, vivid pink. Relative luminance 0.056; OKLCH L 40.2% C 0.154 H 342.6°. Best body text is #FFFFFF at 9.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7B155E |
|---|---|
| RGB | rgb(123, 21, 94) |
| HSL | hsl(317, 71%, 28%) |
| HSV | hsv(317, 83%, 48%) |
| CMYK | cmyk(0%, 82.9%, 23.6%, 51.8%) |
| CIE-LAB | lab(28.27, 48.79, -17.14) |
| CIE-LCH | lch(28.27, 51.71, 340.65°) |
| OKLab | oklab(40.21% 0.1471 -0.046) |
| OKLCH | oklch(40.21% 0.154 342.6) |
| XYZ | xyz(10.4573, 5.5566, 11.1093) |
| Luminance | 0.0556 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 2.84
Rich Purple
#720058
ΔE00 2.86
Darkish Purple
#751973
ΔE00 5.71
Grape Purple
#5D1451
ΔE00 6.08
Grape
#6C3461
ΔE00 6.51
Red Violet
#9E0168
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B155E #157B32
analogous
#65157B #7B155E #7B152B
triadic
#7B155E #5E7B15 #155E7B
tetradic
#7B155E #7B6515 #157B32 #152B7B
square
#7B155E #7B6515 #157B32 #152B7B
split-complementary
#7B155E #2B7B15 #157B65
monochromatic
#1A0414 #470C36 #7B155E #AF1E86 #DB2FAA
Accessibility & contrast
On white
9.95
#7B155E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.11
#7B155E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B155E
9.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B155E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B155E | 1.00 | 9.95 | 2.11 | 9.95 |
| #FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#213860
Deuteranopia (green-blind)
#42495C
Tritanopia (blue-blind)
#831638
Achromatopsia (no color)
#434343
Design tokens & code
CSS
--color: #7b155e; /* rgb */ color: rgb(123, 21, 94); /* oklch */ color: oklch(40.2% 0.154 342.6);
Tailwind
colors: {
custom: {
50: '#a5608c',
500: '#7b155e',
950: '#000000',
},
}SCSS
$custom: #7b155e; $custom-light: #a5608c; $custom-dark: #000000;
JSON
{
"hex": "#7b155e",
"rgb": {
"r": 123,
"g": 21,
"b": 94
},
"hsl": {
"h": 317.059,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.40211,
"c": 0.15415,
"h": 342.6
},
"luminance": 0.05555
}Semantic roles & 50–950 ramp
primary
#7B155E
secondary
#3BB05D
accent
#EE6D3A
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10050C
muted
#7F7A7D