#AF787E#AF787E

#AF787E is a light, moderate red. Relative luminance 0.241; OKLCH L 63.0% C 0.069 H 12.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF787E
RGBrgb(175, 120, 126)
HSLhsl(353, 26%, 58%)
HSVhsv(353, 31%, 69%)
CMYKcmyk(0%, 31.4%, 28%, 31.4%)
CIE-LABlab(56.14, 22.37, 5.46)
CIE-LCHlch(56.14, 23.03, 13.70°)
OKLaboklab(63.05% 0.0679 0.0145)
OKLCHoklch(63.05% 0.069 12)
XYZxyz(28.1622, 24.0550, 22.8943)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF787E #78AFA9
analogous
#AF7899 #AF787E #AF8E78
triadic
#AF787E #7EAF78 #787EAF
tetradic
#AF787E #99AF78 #78AFA9 #8E78AF
square
#AF787E #99AF78 #78AFA9 #8E78AF
split-complementary
#AF787E #78AF8E #7899AF
monochromatic
#6C4045 #93575E #AF787E #C69EA3 #DDC5C7

Accessibility & contrast

On white

3.61
#AF787E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#AF787E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #AF787E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF787E#FFFFFF#000000##000000
##AF787E1.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807E
Deuteranopia (green-blind)
#8E8B7D
Tritanopia (blue-blind)
#B9737A
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #af787e;
/* rgb */ color: rgb(175, 120, 126);
/* oklch */ color: oklch(63.0% 0.069 12.0);
Tailwind
colors: {
  custom: {
    50: '#c89fa3',
    500: '#af787e',
    950: '#000000',
  },
}
SCSS
$custom: #af787e;
$custom-light: #c89fa3;
$custom-dark: #000000;
JSON
{
  "hex": "#af787e",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 126
  },
  "hsl": {
    "h": 353.455,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.63049,
    "c": 0.06943,
    "h": 12
  },
  "luminance": 0.24053
}

Semantic roles & 50–950 ramp

primary
#AF787E
secondary
#B6CCCA
accent
#C2B866
background
#FCF9FA
surface
#F8F2F3
border
#D1CCCD
text
#130E0F
muted
#827E7F

Preview Lab

Preview with #AF787E

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

Preview Lab → · Contrast checker → · Palette generator →

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