#AF787D#AF787D

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

Color values

HEX#AF787D
RGBrgb(175, 120, 125)
HSLhsl(355, 26%, 58%)
HSVhsv(355, 31%, 69%)
CMYKcmyk(0%, 31.4%, 28.6%, 31.4%)
CIE-LABlab(56.12, 22.23, 6.00)
CIE-LCHlch(56.12, 23.03, 15.10°)
OKLaboklab(63.02% 0.0675 0.0159)
OKLCHoklch(63.02% 0.069 13.2)
XYZxyz(28.0980, 24.0293, 22.5562)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF787D #78AFAA
analogous
#AF7899 #AF787D #AF8E78
triadic
#AF787D #7DAF78 #787DAF
tetradic
#AF787D #99AF78 #78AFAA #8E78AF
square
#AF787D #99AF78 #78AFAA #8E78AF
split-complementary
#AF787D #78AF8E #7899AF
monochromatic
#6C4044 #93575C #AF787D #C69EA2 #DDC5C7

Accessibility & contrast

On white

3.62
#AF787D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF787D#FFFFFF#000000##000000
##AF787D1.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#81807D
Deuteranopia (green-blind)
#8E8A7C
Tritanopia (blue-blind)
#B9737A
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #af787d;
/* rgb */ color: rgb(175, 120, 125);
/* oklch */ color: oklch(63.0% 0.069 13.2);
Tailwind
colors: {
  custom: {
    50: '#c89fa2',
    500: '#af787d',
    950: '#000000',
  },
}
SCSS
$custom: #af787d;
$custom-light: #c89fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#af787d",
  "rgb": {
    "r": 175,
    "g": 120,
    "b": 125
  },
  "hsl": {
    "h": 354.545,
    "s": 25.581,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6302,
    "c": 0.06935,
    "h": 13.2
  },
  "luminance": 0.24028
}

Semantic roles & 50–950 ramp

primary
#AF787D
secondary
#B6CCCA
accent
#C2BA66
background
#FCF9F9
surface
#F8F2F2
border
#D1CCCC
text
#130E0F
muted
#827E7E

Preview Lab

Preview with #AF787D

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

Preview Lab → · Contrast checker → · Palette generator →

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