#AF5B4E#AF5B4E

#AF5B4E is a mid, moderate red. Relative luminance 0.171; OKLCH L 56.8% C 0.112 H 30.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#AF5B4E
RGBrgb(175, 91, 78)
HSLhsl(8, 38%, 50%)
HSVhsv(8, 55%, 69%)
CMYKcmyk(0%, 48%, 55.4%, 31.4%)
CIE-LABlab(48.45, 32.87, 22.99)
CIE-LCHlch(48.45, 40.11, 34.97°)
OKLaboklab(56.81% 0.097 0.0562)
OKLCHoklch(56.81% 0.112 30.1)
XYZxyz(22.7971, 17.1486, 9.3157)
Luminance0.1715 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5B4E #4EA2AF
analogous
#AF4E72 #AF5B4E #AF8C4E
triadic
#AF5B4E #4EAF5B #5B4EAF
tetradic
#AF5B4E #72AF4E #4EA2AF #8C4EAF
square
#AF5B4E #72AF4E #4EA2AF #8C4EAF
split-complementary
#AF5B4E #4EAF8C #4E72AF
monochromatic
#5A2F28 #85453B #AF5B4E #C38278 #D6A9A2

Accessibility & contrast

On white

4.74
#AF5B4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#AF5B4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5B4E
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5B4E#FFFFFF#000000##FFFFFF
##AF5B4E1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F684D
Deuteranopia (green-blind)
#847A4D
Tritanopia (blue-blind)
#BE4D58
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af5b4e;
/* rgb */ color: rgb(175, 91, 78);
/* oklch */ color: oklch(56.8% 0.112 30.1);
Tailwind
colors: {
  custom: {
    50: '#cb8b7f',
    500: '#af5b4e',
    950: '#000000',
  },
}
SCSS
$custom: #af5b4e;
$custom-light: #cb8b7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af5b4e",
  "rgb": {
    "r": 175,
    "g": 91,
    "b": 78
  },
  "hsl": {
    "h": 8.041,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56805,
    "c": 0.1121,
    "h": 30.1
  },
  "luminance": 0.17146
}

Semantic roles & 50–950 ramp

primary
#AF5B4E
secondary
#96BDC3
accent
#BFCE5A
background
#FDF8F7
surface
#FAF0EE
border
#D3CBC9
text
#140C0A
muted
#837D7C

Preview Lab

Preview with #AF5B4E

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

Preview Lab → · Contrast checker → · Palette generator →

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