#AC798E#AC798E
#AC798E is a light, moderate pink. Relative luminance 0.244; OKLCH L 63.4% C 0.069 H 352.8°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).
Color values
| HEX | #AC798E |
|---|---|
| RGB | rgb(172, 121, 142) |
| HSL | hsl(335, 24%, 57%) |
| HSV | hsv(335, 30%, 67%) |
| CMYK | cmyk(0%, 29.7%, 17.4%, 32.5%) |
| CIE-LAB | lab(56.49, 23.13, -3.38) |
| CIE-LCH | lch(56.49, 23.38, 351.69°) |
| OKLab | oklab(63.38% 0.0689 -0.0086) |
| OKLCH | oklch(63.38% 0.069 352.8) |
| XYZ | xyz(28.7333, 24.3998, 28.7821) |
| Luminance | 0.2440 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 3.89
Dusty Lavender
#AC86A8
ΔE00 7.01
Old Pink
#C77986
ΔE00 7.57
Dusky Pink
#CC7A8B
ΔE00 7.78
Old Rose
#C87F89
ΔE00 7.99
Light Mauve
#C292A1
ΔE00 8.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AC798E #79AC97
analogous
#AC79A7 #AC798E #AC7E79
triadic
#AC798E #8EAC79 #798EAC
tetradic
#AC798E #A7AC79 #79AC97 #7E79AC
square
#AC798E #A7AC79 #79AC97 #7E79AC
split-complementary
#AC798E #79AC7E #79A7AC
monochromatic
#694152 #8F596F #AC798E #C39FAE #DBC5CE
Accessibility & contrast
On white
3.57
#AC798E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.88
#AC798E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AC798E
5.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AC798E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AC798E | 1.00 | 3.57 | 5.88 | 5.88 |
| #FFFFFF | 3.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E828F
Deuteranopia (green-blind)
#8A8B8D
Tritanopia (blue-blind)
#B47780
Achromatopsia (no color)
#878787
Design tokens & code
CSS
--color: #ac798e; /* rgb */ color: rgb(172, 121, 142); /* oklch */ color: oklch(63.4% 0.069 352.8);
Tailwind
colors: {
custom: {
50: '#c5a0af',
500: '#ac798e',
950: '#000000',
},
}SCSS
$custom: #ac798e; $custom-light: #c5a0af; $custom-dark: #000000;
JSON
{
"hex": "#ac798e",
"rgb": {
"r": 172,
"g": 121,
"b": 142
},
"hsl": {
"h": 335.294,
"s": 23.502,
"l": 57.451
},
"oklch": {
"l": 0.63383,
"c": 0.0694,
"h": 352.8
},
"luminance": 0.24398
}Semantic roles & 50–950 ramp
primary
#AC798E
secondary
#B6CBC2
accent
#C09C68
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F