#AF798B#AF798B
#AF798B is a light, moderate pink. Relative luminance 0.247; OKLCH L 63.6% C 0.071 H 357.7°. Best body text is #000000 at 5.93:1 contrast (WCAG AA passes).
Color values
| HEX | #AF798B |
|---|---|
| RGB | rgb(175, 121, 139) |
| HSL | hsl(340, 25%, 58%) |
| HSV | hsv(340, 31%, 69%) |
| CMYK | cmyk(0%, 30.9%, 20.6%, 31.4%) |
| CIE-LAB | lab(56.74, 23.77, -1.23) |
| CIE-LCH | lch(56.74, 23.80, 357.03°) |
| OKLab | oklab(63.62% 0.0713 -0.0029) |
| OKLCH | oklch(63.62% 0.071 357.7) |
| XYZ | xyz(29.1771, 24.6544, 27.6430) |
| Luminance | 0.2465 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 2.96
Old Pink
#C77986
ΔE00 6.27
Dusky Pink
#CC7A8B
ΔE00 6.63
Old Rose
#C87F89
ΔE00 6.69
Dusty Rose
#C0737A
ΔE00 7.20
Muted Pink
#D1768F
ΔE00 7.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF798B #79AF9D
analogous
#AF79A6 #AF798B #AF8279
triadic
#AF798B #8BAF79 #798BAF
tetradic
#AF798B #A6AF79 #79AF9D #8279AF
square
#AF798B #A6AF79 #79AF9D #8279AF
split-complementary
#AF798B #79AF82 #79A6AF
monochromatic
#6D414F #93586C #AF798B #C69FAC #DDC6CD
Accessibility & contrast
On white
3.54
#AF798B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.93
#AF798B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF798B
5.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF798B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF798B | 1.00 | 3.54 | 5.93 | 5.93 |
| #FFFFFF | 3.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F828C
Deuteranopia (green-blind)
#8C8C8A
Tritanopia (blue-blind)
#B8767F
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #af798b; /* rgb */ color: rgb(175, 121, 139); /* oklch */ color: oklch(63.6% 0.071 357.7);
Tailwind
colors: {
custom: {
50: '#c8a0ac',
500: '#af798b',
950: '#000000',
},
}SCSS
$custom: #af798b; $custom-light: #c8a0ac; $custom-dark: #000000;
JSON
{
"hex": "#af798b",
"rgb": {
"r": 175,
"g": 121,
"b": 139
},
"hsl": {
"h": 340,
"s": 25.234,
"l": 58.039
},
"oklch": {
"l": 0.63622,
"c": 0.07134,
"h": 357.7
},
"luminance": 0.24653
}Semantic roles & 50–950 ramp
primary
#AF798B
secondary
#B7CDC5
accent
#C2A366
background
#FCF9FA
surface
#F8F2F4
border
#D1CCCE
text
#130E10
muted
#827E7F