#AB225B#AB225B
#AB225B is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.6% C 0.176 H 1.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #AB225B |
|---|---|
| RGB | rgb(171, 34, 91) |
| HSL | hsl(335, 67%, 40%) |
| HSV | hsv(335, 80%, 67%) |
| CMYK | cmyk(0%, 80.1%, 46.8%, 32.9%) |
| CIE-LAB | lab(38.83, 57.33, 1.61) |
| CIE-LCH | lch(38.83, 57.35, 1.61°) |
| OKLab | oklab(49.57% 0.1761 0.0048) |
| OKLCH | oklch(49.57% 0.176 1.6) |
| XYZ | xyz(19.2565, 10.5599, 10.9198) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 3.24
Purplish Red
#B0054B
ΔE00 4.29
Raspberry (survey)
#B00149
ΔE00 4.78
Berry
#990F4B
ΔE00 4.80
Dark Fuchsia
#9D0759
ΔE00 4.87
Deep Magenta
#A0025C
ΔE00 4.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB225B #22AB72
analogous
#AB22A0 #AB225B #AB2D22
triadic
#AB225B #5BAB22 #225BAB
tetradic
#AB225B #A0AB22 #22AB72 #2D22AB
square
#AB225B #A0AB22 #22AB72 #2D22AB
split-complementary
#AB225B #22AB2D #22A0AB
monochromatic
#450E25 #781840 #AB225B #D73477 #E16799
Accessibility & contrast
On white
6.75
#AB225B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#AB225B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB225B
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB225B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB225B | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#444B5C
Deuteranopia (green-blind)
#686558
Tritanopia (blue-blind)
#BA003C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #ab225b; /* rgb */ color: rgb(171, 34, 91); /* oklch */ color: oklch(49.6% 0.176 1.6);
Tailwind
colors: {
custom: {
50: '#ca6c89',
500: '#ab225b',
950: '#000000',
},
}SCSS
$custom: #ab225b; $custom-light: #ca6c89; $custom-dark: #000000;
JSON
{
"hex": "#ab225b",
"rgb": {
"r": 171,
"g": 34,
"b": 91
},
"hsl": {
"h": 335.036,
"s": 66.829,
"l": 40.196
},
"oklch": {
"l": 0.49573,
"c": 0.17612,
"h": 1.6
},
"luminance": 0.10557
}Semantic roles & 50–950 ramp
primary
#AB225B
secondary
#63C69D
accent
#EAA23E
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C