#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
RGBrgb(175, 113, 125)
HSLhsl(348, 28%, 56%)
HSVhsv(348, 35%, 69%)
CMYKcmyk(0%, 35.4%, 28.6%, 31.4%)
CIE-LABlab(54.46, 26.15, 3.61)
CIE-LCHlch(54.46, 26.40, 7.86°)
OKLaboklab(61.75% 0.0792 0.0098)
OKLCHoklch(61.75% 0.08 7)
XYZxyz(27.2867, 22.4067, 22.2858)
Luminance0.2240 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##AF717D1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.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

Preview Lab

Preview with #AF717D

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#AF717D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva