#7B225B#7B225B
#7B225B is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.137 H 345.5°. Best body text is #FFFFFF at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #7B225B |
|---|---|
| RGB | rgb(123, 34, 91) |
| HSL | hsl(322, 57%, 31%) |
| HSV | hsv(322, 72%, 48%) |
| CMYK | cmyk(0%, 72.4%, 26%, 51.8%) |
| CIE-LAB | lab(29.69, 43.95, -12.98) |
| CIE-LCH | lch(29.69, 45.82, 343.54°) |
| OKLab | oklab(41.2% 0.1329 -0.0344) |
| OKLCH | oklch(41.2% 0.137 345.5) |
| XYZ | xyz(10.6292, 6.1114, 10.5154) |
| Luminance | 0.0611 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.57
Rich Purple
#720058
ΔE00 4.89
Grape
#6C3461
ΔE00 5.37
Red Purple
#820747
ΔE00 6.01
Reddish Purple
#910951
ΔE00 6.26
Dark Magenta
#960056
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B225B #227B42
analogous
#6E227B #7B225B #7B222E
triadic
#7B225B #5B7B22 #225B7B
tetradic
#7B225B #7B6E22 #227B42 #222E7B
square
#7B225B #7B6E22 #227B42 #222E7B
split-complementary
#7B225B #2E7B22 #227B6E
monochromatic
#1B0714 #4B1538 #7B225B #AB2F7E #CD4A9E
Accessibility & contrast
On white
9.45
#7B225B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7B225B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B225B
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B225B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B225B | 1.00 | 9.45 | 2.22 | 9.45 |
| #FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C3C5D
Deuteranopia (green-blind)
#474B59
Tritanopia (blue-blind)
#83203B
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7b225b; /* rgb */ color: rgb(123, 34, 91); /* oklch */ color: oklch(41.2% 0.137 345.5);
Tailwind
colors: {
custom: {
50: '#a46589',
500: '#7b225b',
950: '#000000',
},
}SCSS
$custom: #7b225b; $custom-light: #a46589; $custom-dark: #000000;
JSON
{
"hex": "#7b225b",
"rgb": {
"r": 123,
"g": 34,
"b": 91
},
"hsl": {
"h": 321.573,
"s": 56.688,
"l": 30.784
},
"oklch": {
"l": 0.41203,
"c": 0.13729,
"h": 345.5
},
"luminance": 0.0611
}Semantic roles & 50–950 ramp
primary
#7B225B
secondary
#4BAE6F
accent
#E07F48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C