#7A225B#7A225B
#7A225B is a dark, vivid pink. Relative luminance 0.060; OKLCH L 41.0% C 0.137 H 345.0°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7A225B |
|---|---|
| RGB | rgb(122, 34, 91) |
| HSL | hsl(321, 56%, 31%) |
| HSV | hsv(321, 72%, 48%) |
| CMYK | cmyk(0%, 72.1%, 25.4%, 52.2%) |
| CIE-LAB | lab(29.51, 43.66, -13.28) |
| CIE-LCH | lch(29.51, 45.63, 343.08°) |
| OKLab | oklab(41.03% 0.1319 -0.0353) |
| OKLCH | oklch(41.03% 0.137 345) |
| XYZ | xyz(10.4868, 6.0380, 10.5087) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Velvet
#750851
ΔE00 3.50
Rich Purple
#720058
ΔE00 4.75
Grape
#6C3461
ΔE00 5.23
Red Purple
#820747
ΔE00 6.16
Reddish Purple
#910951
ΔE00 6.48
Dark Magenta
#960056
ΔE00 6.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A225B #227A41
analogous
#6D227A #7A225B #7A222F
triadic
#7A225B #5B7A22 #225B7A
tetradic
#7A225B #7A6D22 #227A41 #222F7A
square
#7A225B #7A6D22 #227A41 #222F7A
split-complementary
#7A225B #2F7A22 #227A6D
monochromatic
#1A0714 #4A1537 #7A225B #AA2F7F #CD4A9F
Accessibility & contrast
On white
9.51
#7A225B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#7A225B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A225B
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A225B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A225B | 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)
#2C3C5D
Deuteranopia (green-blind)
#464B59
Tritanopia (blue-blind)
#82213B
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #7a225b; /* rgb */ color: rgb(122, 34, 91); /* oklch */ color: oklch(41.0% 0.137 345.0);
Tailwind
colors: {
custom: {
50: '#a46589',
500: '#7a225b',
950: '#000000',
},
}SCSS
$custom: #7a225b; $custom-light: #a46589; $custom-dark: #000000;
JSON
{
"hex": "#7a225b",
"rgb": {
"r": 122,
"g": 34,
"b": 91
},
"hsl": {
"h": 321.136,
"s": 56.41,
"l": 30.588
},
"oklch": {
"l": 0.41034,
"c": 0.13651,
"h": 345
},
"luminance": 0.06037
}Semantic roles & 50–950 ramp
primary
#7A225B
secondary
#4BAD6D
accent
#E07E48
background
#FAF6F8
surface
#F4EBF0
border
#CEC6CB
text
#10060B
muted
#7F7A7C