#7A225E#7A225E
#7A225E is a dark, vivid pink. Relative luminance 0.061; OKLCH L 41.2% C 0.138 H 343.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #7A225E |
|---|---|
| RGB | rgb(122, 34, 94) |
| HSL | hsl(319, 56%, 31%) |
| HSV | hsv(319, 72%, 48%) |
| CMYK | cmyk(0%, 72.1%, 23%, 52.2%) |
| CIE-LAB | lab(29.64, 44.09, -15.03) |
| CIE-LCH | lch(29.64, 46.58, 341.18°) |
| OKLab | oklab(41.17% 0.1325 -0.0402) |
| OKLCH | oklch(41.17% 0.138 343.1) |
| XYZ | xyz(10.6188, 6.0908, 11.2039) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.74
Rich Purple
#720058
ΔE00 4.46
Grape
#6C3461
ΔE00 5.01
Darkish Purple
#751973
ΔE00 6.49
Grape Purple
#5D1451
ΔE00 6.60
Red Violet
#9E0168
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A225E #227A3E
analogous
#6A227A #7A225E #7A2232
triadic
#7A225E #5E7A22 #225E7A
tetradic
#7A225E #7A6A22 #227A3E #22327A
square
#7A225E #7A6A22 #227A3E #22327A
split-complementary
#7A225E #327A22 #227A6A
monochromatic
#1A0714 #4A1539 #7A225E #AA2F83 #CD4AA3
Accessibility & contrast
On white
9.47
#7A225E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#7A225E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A225E
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A225E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A225E | 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)
#2A3D60
Deuteranopia (green-blind)
#454B5C
Tritanopia (blue-blind)
#82223D
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #7a225e; /* rgb */ color: rgb(122, 34, 94); /* oklch */ color: oklch(41.2% 0.138 343.1);
Tailwind
colors: {
custom: {
50: '#a4658b',
500: '#7a225e',
950: '#000000',
},
}SCSS
$custom: #7a225e; $custom-light: #a4658b; $custom-dark: #000000;
JSON
{
"hex": "#7a225e",
"rgb": {
"r": 122,
"g": 34,
"b": 94
},
"hsl": {
"h": 319.091,
"s": 56.41,
"l": 30.588
},
"oklch": {
"l": 0.41174,
"c": 0.13849,
"h": 343.1
},
"luminance": 0.0609
}Semantic roles & 50–950 ramp
primary
#7A225E
secondary
#4BAD6A
accent
#E07848
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060C
muted
#7F7A7D