#AB295F#AB295F
#AB295F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 0.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AB295F |
|---|---|
| RGB | rgb(171, 41, 95) |
| HSL | hsl(335, 61%, 42%) |
| HSV | hsv(335, 76%, 67%) |
| CMYK | cmyk(0%, 76%, 44.4%, 32.9%) |
| CIE-LAB | lab(39.70, 55.58, 0.35) |
| CIE-LCH | lch(39.70, 55.58, 0.36°) |
| OKLab | oklab(50.25% 0.1706 0.0015) |
| OKLCH | oklch(50.25% 0.171 0.5) |
| XYZ | xyz(19.6546, 11.0726, 11.9265) |
| Luminance | 0.1107 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Violet Red
#A50055
ΔE00 4.06
Purplish Red
#B0054B
ΔE00 5.21
Deep Magenta
#A0025C
ΔE00 5.25
Dark Fuchsia
#9D0759
ΔE00 5.30
Light Burgundy
#A8415B
ΔE00 5.57
Berry
#990F4B
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB295F #29AB75
analogous
#AB29A0 #AB295F #AB3429
triadic
#AB295F #5FAB29 #295FAB
tetradic
#AB295F #A0AB29 #29AB75 #3429AB
square
#AB295F #A0AB29 #29AB75 #3429AB
split-complementary
#AB295F #29AB34 #29A0AB
monochromatic
#481128 #7A1D44 #AB295F #D1407C #DD719E
Accessibility & contrast
On white
6.53
#AB295F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.21
#AB295F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #AB295F
6.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB295F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##AB295F | 1.00 | 6.53 | 3.21 | 6.53 |
| #FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#464E60
Deuteranopia (green-blind)
#69675C
Tritanopia (blue-blind)
#BA1140
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #ab295f; /* rgb */ color: rgb(171, 41, 95); /* oklch */ color: oklch(50.3% 0.171 0.5);
Tailwind
colors: {
custom: {
50: '#c96f8c',
500: '#ab295f',
950: '#000000',
},
}SCSS
$custom: #ab295f; $custom-light: #c96f8c; $custom-dark: #000000;
JSON
{
"hex": "#ab295f",
"rgb": {
"r": 171,
"g": 41,
"b": 95
},
"hsl": {
"h": 335.077,
"s": 61.321,
"l": 41.569
},
"oklch": {
"l": 0.50253,
"c": 0.1706,
"h": 0.5
},
"luminance": 0.1107
}Semantic roles & 50–950 ramp
primary
#AB295F
secondary
#6CC49F
accent
#E4A243
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D