#AF7871#AF7871

#AF7871 is a light, moderate red. Relative luminance 0.237; OKLCH L 62.7% C 0.070 H 27.3°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#AF7871
RGBrgb(175, 120, 113)
HSLhsl(7, 28%, 56%)
HSVhsv(7, 35%, 69%)
CMYKcmyk(0%, 31.4%, 35.4%, 31.4%)
CIE-LABlab(55.83, 20.61, 12.55)
CIE-LCHlch(55.83, 24.13, 31.35°)
OKLaboklab(62.7% 0.0626 0.0323)
OKLCHoklch(62.7% 0.07 27.3)
XYZxyz(27.3772, 23.7410, 18.7601)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF7871 #71A8AF
analogous
#AF7189 #AF7871 #AF9771
triadic
#AF7871 #71AF78 #7871AF
tetradic
#AF7871 #89AF71 #71A8AF #9771AF
square
#AF7871 #89AF71 #71A8AF #9771AF
split-complementary
#AF7871 #71AF97 #7189AF
monochromatic
#6A413C #915952 #AF7871 #C59D98 #DBC2BF

Accessibility & contrast

On white

3.65
#AF7871 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#AF7871 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF7871
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF7871#FFFFFF#000000##000000
##AF78711.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#847F70
Deuteranopia (green-blind)
#918A70
Tritanopia (blue-blind)
#BB7176
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af7871;
/* rgb */ color: rgb(175, 120, 113);
/* oklch */ color: oklch(62.7% 0.070 27.3);
Tailwind
colors: {
  custom: {
    50: '#c89f99',
    500: '#af7871',
    950: '#000000',
  },
}
SCSS
$custom: #af7871;
$custom-light: #c89f99;
$custom-dark: #000000;
JSON
{
  "hex": "#af7871",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 113
  },
  "hsl": {
    "h": 6.774,
    "s": 27.928,
    "l": 56.471
  },
  "oklch": {
    "l": 0.62702,
    "c": 0.07046,
    "h": 27.3
  },
  "luminance": 0.23739
}

Semantic roles & 50–950 ramp

primary
#AF7871
secondary
#B1C8CB
accent
#B9C464
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0E
muted
#827E7E

Preview Lab

Preview with #AF7871

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

Preview Lab → · Contrast checker → · Palette generator →

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