#AF786E#AF786E

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

Color values

HEX#AF786E
RGBrgb(175, 120, 110)
HSLhsl(9, 29%, 56%)
HSVhsv(9, 37%, 69%)
CMYKcmyk(0%, 31.4%, 37.1%, 31.4%)
CIE-LABlab(55.76, 20.23, 14.19)
CIE-LCHlch(55.76, 24.71, 35.06°)
OKLaboklab(62.63% 0.0614 0.0363)
OKLCHoklch(62.63% 0.071 30.6)
XYZxyz(27.2111, 23.6745, 17.8853)
Luminance0.2367 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF786E #6EA5AF
analogous
#AF6E84 #AF786E #AF986E
triadic
#AF786E #6EAF78 #786EAF
tetradic
#AF786E #84AF6E #6EA5AF #986EAF
square
#AF786E #84AF6E #6EA5AF #986EAF
split-complementary
#AF786E #6EAF98 #6E84AF
monochromatic
#69413A #905A50 #AF786E #C59D95 #DBC1BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF786E#FFFFFF#000000##000000
##AF786E1.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#847F6D
Deuteranopia (green-blind)
#918A6D
Tritanopia (blue-blind)
#BB7175
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af786e;
/* rgb */ color: rgb(175, 120, 110);
/* oklch */ color: oklch(62.6% 0.071 30.6);
Tailwind
colors: {
  custom: {
    50: '#c89f97',
    500: '#af786e',
    950: '#000000',
  },
}
SCSS
$custom: #af786e;
$custom-light: #c89f97;
$custom-dark: #000000;
JSON
{
  "hex": "#af786e",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 110
  },
  "hsl": {
    "h": 9.231,
    "s": 28.889,
    "l": 55.882
  },
  "oklch": {
    "l": 0.62628,
    "c": 0.07132,
    "h": 30.6
  },
  "luminance": 0.23673
}

Semantic roles & 50–950 ramp

primary
#AF786E
secondary
#AFC6CA
accent
#B6C563
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0D
muted
#827E7E

Preview Lab

Preview with #AF786E

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

Preview Lab → · Contrast checker → · Palette generator →

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