#AB798E#AB798E
#AB798E is a light, moderate pink. Relative luminance 0.243; OKLCH L 63.3% C 0.068 H 352.3°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #AB798E |
|---|---|
| RGB | rgb(171, 121, 142) |
| HSL | hsl(335, 23%, 57%) |
| HSV | hsv(335, 29%, 67%) |
| CMYK | cmyk(0%, 29.2%, 17%, 32.9%) |
| CIE-LAB | lab(56.37, 22.76, -3.56) |
| CIE-LCH | lch(56.37, 23.04, 351.11°) |
| OKLab | oklab(63.27% 0.0677 -0.0091) |
| OKLCH | oklch(63.27% 0.068 352.3) |
| XYZ | xyz(28.5146, 24.2870, 28.7718) |
| Luminance | 0.2429 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 4.02
Dusty Lavender
#AC86A8
ΔE00 6.91
Old Pink
#C77986
ΔE00 7.81
Purpley Grey
#947E94
ΔE00 7.95
Dusky Pink
#CC7A8B
ΔE00 8.03
Light Mauve
#C292A1
ΔE00 8.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AB798E #79AB96
analogous
#AB79A7 #AB798E #AB7D79
triadic
#AB798E #8EAB79 #798EAB
tetradic
#AB798E #A7AB79 #79AB96 #7D79AB
square
#AB798E #A7AB79 #79AB96 #7D79AB
split-complementary
#AB798E #79AB7D #79A7AB
monochromatic
#684152 #8E596F #AB798E #C39FAE #DAC4CD
Accessibility & contrast
On white
3.59
#AB798E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.86
#AB798E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AB798E
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AB798E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AB798E | 1.00 | 3.59 | 5.86 | 5.86 |
| #FFFFFF | 3.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E828F
Deuteranopia (green-blind)
#8A8A8D
Tritanopia (blue-blind)
#B37780
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ab798e; /* rgb */ color: rgb(171, 121, 142); /* oklch */ color: oklch(63.3% 0.068 352.3);
Tailwind
colors: {
custom: {
50: '#c5a0af',
500: '#ab798e',
950: '#000000',
},
}SCSS
$custom: #ab798e; $custom-light: #c5a0af; $custom-dark: #000000;
JSON
{
"hex": "#ab798e",
"rgb": {
"r": 171,
"g": 121,
"b": 142
},
"hsl": {
"h": 334.8,
"s": 22.936,
"l": 57.255
},
"oklch": {
"l": 0.63272,
"c": 0.06829,
"h": 352.3
},
"luminance": 0.24286
}Semantic roles & 50–950 ramp
primary
#AB798E
secondary
#B6CAC2
accent
#BF9B68
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F