#AF798E#AF798E
#AF798E is a light, moderate pink. Relative luminance 0.247; OKLCH L 63.7% C 0.073 H 354.3°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #AF798E |
|---|---|
| RGB | rgb(175, 121, 142) |
| HSL | hsl(337, 25%, 58%) |
| HSV | hsv(337, 31%, 69%) |
| CMYK | cmyk(0%, 30.9%, 18.9%, 31.4%) |
| CIE-LAB | lab(56.82, 24.25, -2.84) |
| CIE-LCH | lch(56.82, 24.41, 353.31°) |
| OKLab | oklab(63.72% 0.0724 -0.0072) |
| OKLCH | oklch(63.72% 0.073 354.3) |
| XYZ | xyz(29.3993, 24.7432, 28.8133) |
| Luminance | 0.2474 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 3.58
Old Pink
#C77986
ΔE00 6.89
Dusky Pink
#CC7A8B
ΔE00 7.05
Dusty Lavender
#AC86A8
ΔE00 7.34
Old Rose
#C87F89
ΔE00 7.35
Muted Pink
#D1768F
ΔE00 7.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF798E #79AF9A
analogous
#AF79A9 #AF798E #AF7F79
triadic
#AF798E #8EAF79 #798EAF
tetradic
#AF798E #A9AF79 #79AF9A #7F79AF
square
#AF798E #A9AF79 #79AF9A #7F79AF
split-complementary
#AF798E #79AF7F #79A9AF
monochromatic
#6D4152 #93586F #AF798E #C69FAE #DDC6CF
Accessibility & contrast
On white
3.53
#AF798E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.95
#AF798E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF798E
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF798E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF798E | 1.00 | 3.53 | 5.95 | 5.95 |
| #FFFFFF | 3.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F838F
Deuteranopia (green-blind)
#8C8C8D
Tritanopia (blue-blind)
#B77780
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af798e; /* rgb */ color: rgb(175, 121, 142); /* oklch */ color: oklch(63.7% 0.073 354.3);
Tailwind
colors: {
custom: {
50: '#c8a0af',
500: '#af798e',
950: '#000000',
},
}SCSS
$custom: #af798e; $custom-light: #c8a0af; $custom-dark: #000000;
JSON
{
"hex": "#af798e",
"rgb": {
"r": 175,
"g": 121,
"b": 142
},
"hsl": {
"h": 336.667,
"s": 25.234,
"l": 58.039
},
"oklch": {
"l": 0.63718,
"c": 0.07275,
"h": 354.3
},
"luminance": 0.24742
}Semantic roles & 50–950 ramp
primary
#AF798E
secondary
#B7CDC4
accent
#C29E66
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F