#7B225E#7B225E
#7B225E is a dark, vivid pink. Relative luminance 0.062; OKLCH L 41.3% C 0.139 H 343.6°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #7B225E |
|---|---|
| RGB | rgb(123, 34, 94) |
| HSL | hsl(320, 57%, 31%) |
| HSV | hsv(320, 72%, 48%) |
| CMYK | cmyk(0%, 72.4%, 23.6%, 51.8%) |
| CIE-LAB | lab(29.82, 44.37, -14.73) |
| CIE-LCH | lch(29.82, 46.76, 341.63°) |
| OKLab | oklab(41.34% 0.1336 -0.0393) |
| OKLCH | oklch(41.34% 0.139 343.6) |
| XYZ | xyz(10.7612, 6.1642, 11.2106) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.77
Rich Purple
#720058
ΔE00 4.59
Grape
#6C3461
ΔE00 5.14
Red Violet
#9E0168
ΔE00 6.57
Darkish Purple
#751973
ΔE00 6.65
Red Purple
#820747
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B225E #227B3F
analogous
#6B227B #7B225E #7B2231
triadic
#7B225E #5E7B22 #225E7B
tetradic
#7B225E #7B6B22 #227B3F #22317B
square
#7B225E #7B6B22 #227B3F #22317B
split-complementary
#7B225E #317B22 #227B6B
monochromatic
#1B0715 #4B1539 #7B225E #AB2F83 #CD4AA2
Accessibility & contrast
On white
9.41
#7B225E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#7B225E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7B225E
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B225E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B225E | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B3D60
Deuteranopia (green-blind)
#464C5C
Tritanopia (blue-blind)
#83223D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7b225e; /* rgb */ color: rgb(123, 34, 94); /* oklch */ color: oklch(41.3% 0.139 343.6);
Tailwind
colors: {
custom: {
50: '#a4658b',
500: '#7b225e',
950: '#000000',
},
}SCSS
$custom: #7b225e; $custom-light: #a4658b; $custom-dark: #000000;
JSON
{
"hex": "#7b225e",
"rgb": {
"r": 123,
"g": 34,
"b": 94
},
"hsl": {
"h": 319.551,
"s": 56.688,
"l": 30.784
},
"oklch": {
"l": 0.41342,
"c": 0.13924,
"h": 343.6
},
"luminance": 0.06163
}Semantic roles & 50–950 ramp
primary
#7B225E
secondary
#4BAE6B
accent
#E07948
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D