#AF786C#AF786C

#AF786C is a light, moderate red. Relative luminance 0.236; OKLCH L 62.6% C 0.072 H 32.8°. Best body text is #000000 at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#AF786C
RGBrgb(175, 120, 108)
HSLhsl(11, 30%, 55%)
HSVhsv(11, 38%, 69%)
CMYKcmyk(0%, 31.4%, 38.3%, 31.4%)
CIE-LABlab(55.72, 19.98, 15.29)
CIE-LCHlch(55.72, 25.16, 37.42°)
OKLaboklab(62.58% 0.0606 0.039)
OKLCHoklch(62.58% 0.072 32.8)
XYZxyz(27.1035, 23.6315, 17.3182)
Luminance0.2363 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF786C #6CA3AF
analogous
#AF6C81 #AF786C #AF996C
triadic
#AF786C #6CAF78 #786CAF
tetradic
#AF786C #81AF6C #6CA3AF #996CAF
square
#AF786C #81AF6C #6CA3AF #996CAF
split-complementary
#AF786C #6CAF99 #6C81AF
monochromatic
#684139 #905A4E #AF786C #C59C94 #DAC1BB

Accessibility & contrast

On white

3.67
#AF786C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#AF786C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF786C
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF786C#FFFFFF#000000##000000
##AF786C1.003.675.735.73
#FFFFFF3.671.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847F6B
Deuteranopia (green-blind)
#918A6B
Tritanopia (blue-blind)
#BB7075
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #af786c;
/* rgb */ color: rgb(175, 120, 108);
/* oklch */ color: oklch(62.6% 0.072 32.8);
Tailwind
colors: {
  custom: {
    50: '#c99f96',
    500: '#af786c',
    950: '#000000',
  },
}
SCSS
$custom: #af786c;
$custom-light: #c99f96;
$custom-dark: #000000;
JSON
{
  "hex": "#af786c",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 108
  },
  "hsl": {
    "h": 10.746,
    "s": 29.515,
    "l": 55.49
  },
  "oklch": {
    "l": 0.6258,
    "c": 0.07201,
    "h": 32.8
  },
  "luminance": 0.2363
}

Semantic roles & 50–950 ramp

primary
#AF786C
secondary
#ADC4C9
accent
#B4C662
background
#FCF9F9
surface
#F8F2F1
border
#D1CCCB
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF786C

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

Preview Lab → · Contrast checker → · Palette generator →

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