#7B215A#7B215A
#7B215A is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.1% C 0.138 H 346.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7B215A |
|---|---|
| RGB | rgb(123, 33, 90) |
| HSL | hsl(322, 58%, 31%) |
| HSV | hsv(322, 73%, 48%) |
| CMYK | cmyk(0%, 73.2%, 26.8%, 51.8%) |
| CIE-LAB | lab(29.51, 44.20, -12.61) |
| CIE-LCH | lch(29.51, 45.96, 344.08°) |
| OKLab | oklab(41.05% 0.1339 -0.0334) |
| OKLCH | oklch(41.05% 0.138 346) |
| XYZ | xyz(10.5581, 6.0380, 10.2803) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.39
Rich Purple
#720058
ΔE00 4.84
Grape
#6C3461
ΔE00 5.56
Red Purple
#820747
ΔE00 5.77
Reddish Purple
#910951
ΔE00 6.08
Dark Magenta
#960056
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B215A #217B42
analogous
#6F217B #7B215A #7B212D
triadic
#7B215A #5A7B21 #215A7B
tetradic
#7B215A #7B6F21 #217B42 #212D7B
square
#7B215A #7B6F21 #217B42 #212D7B
split-complementary
#7B215A #2D7B21 #217B6F
monochromatic
#1A0713 #4B1437 #7B215A #AB2E7D #CE489D
Accessibility & contrast
On white
9.51
#7B215A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7B215A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B215A
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B215A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B215A | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3C5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#841F3A
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7b215a; /* rgb */ color: rgb(123, 33, 90); /* oklch */ color: oklch(41.1% 0.138 346.0);
Tailwind
colors: {
custom: {
50: '#a56588',
500: '#7b215a',
950: '#000000',
},
}SCSS
$custom: #7b215a; $custom-light: #a56588; $custom-dark: #000000;
JSON
{
"hex": "#7b215a",
"rgb": {
"r": 123,
"g": 33,
"b": 90
},
"hsl": {
"h": 322,
"s": 57.692,
"l": 30.588
},
"oklch": {
"l": 0.41054,
"c": 0.13799,
"h": 346
},
"luminance": 0.06037
}Semantic roles & 50–950 ramp
primary
#7B215A
secondary
#4AAE6F
accent
#E17F47
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C