#AF717D#AF717D
#AF717D is a mid, moderate red. Relative luminance 0.224; OKLCH L 61.7% C 0.080 H 7.0°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #AF717D |
|---|---|
| RGB | rgb(175, 113, 125) |
| HSL | hsl(348, 28%, 56%) |
| HSV | hsv(348, 35%, 69%) |
| CMYK | cmyk(0%, 35.4%, 28.6%, 31.4%) |
| CIE-LAB | lab(54.46, 26.15, 3.61) |
| CIE-LCH | lch(54.46, 26.40, 7.86°) |
| OKLab | oklab(61.75% 0.0792 0.0098) |
| OKLCH | oklch(61.75% 0.08 7) |
| XYZ | xyz(27.2867, 22.4067, 22.2858) |
| Luminance | 0.2240 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Mauve (survey)
#AE7181
ΔE00 1.54
Dusky Rose
#BA6873
ΔE00 4.29
Dusty Rose
#C0737A
ΔE00 4.56
Old Pink
#C77986
ΔE00 5.42
Ugly Pink
#CD7584
ΔE00 6.34
Old Rose
#C87F89
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AF717D #71AFA3
analogous
#AF719C #AF717D #AF8471
triadic
#AF717D #7DAF71 #717DAF
tetradic
#AF717D #9CAF71 #71AFA3 #8471AF
square
#AF717D #9CAF71 #71AFA3 #8471AF
split-complementary
#AF717D #71AF84 #719CAF
monochromatic
#6A3C45 #91525E #AF717D #C598A1 #DBBFC5
Accessibility & contrast
On white
3.83
#AF717D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.48
#AF717D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #AF717D
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AF717D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AF717D | 1.00 | 3.83 | 5.48 | 5.48 |
| #FFFFFF | 3.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B7B7D
Deuteranopia (green-blind)
#8A877C
Tritanopia (blue-blind)
#BA6C75
Achromatopsia (no color)
#828282
Design tokens & code
CSS
--color: #af717d; /* rgb */ color: rgb(175, 113, 125); /* oklch */ color: oklch(61.7% 0.080 7.0);
Tailwind
colors: {
custom: {
50: '#c89aa2',
500: '#af717d',
950: '#000000',
},
}SCSS
$custom: #af717d; $custom-light: #c89aa2; $custom-dark: #000000;
JSON
{
"hex": "#af717d",
"rgb": {
"r": 175,
"g": 113,
"b": 125
},
"hsl": {
"h": 348.387,
"s": 27.928,
"l": 56.471
},
"oklch": {
"l": 0.61745,
"c": 0.07981,
"h": 7
},
"luminance": 0.22405
}Semantic roles & 50–950 ramp
primary
#AF717D
secondary
#B1CBC6
accent
#C4B264
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0F
muted
#827E7E