#AF7170#AF7170

#AF7170 is a mid, moderate red. Relative luminance 0.221; OKLCH L 61.4% C 0.079 H 20.6°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF7170
RGBrgb(175, 113, 112)
HSLhsl(1, 28%, 56%)
HSVhsv(1, 36%, 69%)
CMYKcmyk(0%, 35.4%, 36%, 31.4%)
CIE-LABlab(54.13, 24.40, 10.75)
CIE-LCHlch(54.13, 26.67, 23.78°)
OKLaboklab(61.39% 0.074 0.0278)
OKLCHoklch(61.39% 0.079 20.6)
XYZxyz(26.5100, 22.0960, 18.1948)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7170 #70AEAF
analogous
#AF708F #AF7170 #AF9170
triadic
#AF7170 #70AF71 #7170AF
tetradic
#AF7170 #8FAF70 #70AEAF #9170AF
square
#AF7170 #8FAF70 #70AEAF #9170AF
split-complementary
#AF7170 #70AF91 #708FAF
monochromatic
#6A3C3B #915251 #AF7170 #C59897 #DBBFBE

Accessibility & contrast

On white

3.88
#AF7170 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#AF7170 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7170
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7170#FFFFFF#000000##000000
##AF71701.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#7D7A70
Deuteranopia (green-blind)
#8C866F
Tritanopia (blue-blind)
#BB6A71
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #af7170;
/* rgb */ color: rgb(175, 113, 112);
/* oklch */ color: oklch(61.4% 0.079 20.6);
Tailwind
colors: {
  custom: {
    50: '#c99a99',
    500: '#af7170',
    950: '#000000',
  },
}
SCSS
$custom: #af7170;
$custom-light: #c99a99;
$custom-dark: #000000;
JSON
{
  "hex": "#af7170",
  "rgb": {
    "r": 175,
    "g": 113,
    "b": 112
  },
  "hsl": {
    "h": 0.952,
    "s": 28.251,
    "l": 56.275
  },
  "oklch": {
    "l": 0.61386,
    "c": 0.07907,
    "h": 20.6
  },
  "luminance": 0.22094
}

Semantic roles & 50–950 ramp

primary
#AF7170
secondary
#B0CACA
accent
#C3C563
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF7170

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

Preview Lab → · Contrast checker → · Palette generator →

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