#7B225A#7B225A
#7B225A is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.137 H 346.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7B225A |
|---|---|
| RGB | rgb(123, 34, 90) |
| HSL | hsl(322, 57%, 31%) |
| HSV | hsv(322, 72%, 48%) |
| CMYK | cmyk(0%, 72.4%, 26.8%, 51.8%) |
| CIE-LAB | lab(29.65, 43.80, -12.39) |
| CIE-LCH | lch(29.65, 45.52, 344.20°) |
| OKLab | oklab(41.16% 0.1327 -0.0328) |
| OKLCH | oklch(41.16% 0.137 346.1) |
| XYZ | xyz(10.5863, 6.0943, 10.2897) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.54
Rich Purple
#720058
ΔE00 5.02
Grape
#6C3461
ΔE00 5.48
Red Purple
#820747
ΔE00 5.78
Reddish Purple
#910951
ΔE00 6.07
Dark Magenta
#960056
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B225A #227B43
analogous
#6F227B #7B225A #7B222D
triadic
#7B225A #5A7B22 #225A7B
tetradic
#7B225A #7B6F22 #227B43 #222D7B
square
#7B225A #7B6F22 #227B43 #222D7B
split-complementary
#7B225A #2D7B22 #227B6F
monochromatic
#1B0714 #4B1537 #7B225A #AB2F7D #CD4A9D
Accessibility & contrast
On white
9.47
#7B225A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7B225A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B225A
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B225A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B225A | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2D3C5C
Deuteranopia (green-blind)
#474B58
Tritanopia (blue-blind)
#84203B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7b225a; /* rgb */ color: rgb(123, 34, 90); /* oklch */ color: oklch(41.2% 0.137 346.1);
Tailwind
colors: {
custom: {
50: '#a46588',
500: '#7b225a',
950: '#000000',
},
}SCSS
$custom: #7b225a; $custom-light: #a46588; $custom-dark: #000000;
JSON
{
"hex": "#7b225a",
"rgb": {
"r": 123,
"g": 34,
"b": 90
},
"hsl": {
"h": 322.247,
"s": 56.688,
"l": 30.784
},
"oklch": {
"l": 0.41158,
"c": 0.13666,
"h": 346.1
},
"luminance": 0.06093
}Semantic roles & 50–950 ramp
primary
#7B225A
secondary
#4BAE70
accent
#E08048
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C