#AF786F#AF786F

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

Color values

HEX#AF786F
RGBrgb(175, 120, 111)
HSLhsl(8, 29%, 56%)
HSVhsv(8, 37%, 69%)
CMYKcmyk(0%, 31.4%, 36.6%, 31.4%)
CIE-LABlab(55.78, 20.35, 13.65)
CIE-LCHlch(55.78, 24.50, 33.84°)
OKLaboklab(62.65% 0.0618 0.035)
OKLCHoklch(62.65% 0.071 29.5)
XYZxyz(27.2659, 23.6964, 18.1736)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF786F #6FA6AF
analogous
#AF6F86 #AF786F #AF986F
triadic
#AF786F #6FAF78 #786FAF
tetradic
#AF786F #86AF6F #6FA6AF #986FAF
square
#AF786F #86AF6F #6FA6AF #986FAF
split-complementary
#AF786F #6FAF98 #6F86AF
monochromatic
#69413A #915950 #AF786F #C59D96 #DBC2BE

Accessibility & contrast

On white

3.66
#AF786F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#AF786F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF786F
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF786F#FFFFFF#000000##000000
##AF786F1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af786f;
/* rgb */ color: rgb(175, 120, 111);
/* oklch */ color: oklch(62.7% 0.071 29.5);
Tailwind
colors: {
  custom: {
    50: '#c89f98',
    500: '#af786f',
    950: '#000000',
  },
}
SCSS
$custom: #af786f;
$custom-light: #c89f98;
$custom-dark: #000000;
JSON
{
  "hex": "#af786f",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 111
  },
  "hsl": {
    "h": 8.437,
    "s": 28.571,
    "l": 56.078
  },
  "oklch": {
    "l": 0.62652,
    "c": 0.07101,
    "h": 29.5
  },
  "luminance": 0.23695
}

Semantic roles & 50–950 ramp

primary
#AF786F
secondary
#B0C6CA
accent
#B7C563
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF786F

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

Preview Lab → · Contrast checker → · Palette generator →

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