#AF5A4E#AF5A4E

#AF5A4E is a mid, moderate red. Relative luminance 0.170; OKLCH L 56.6% C 0.113 H 29.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#AF5A4E
RGBrgb(175, 90, 78)
HSLhsl(7, 38%, 50%)
HSVhsv(7, 55%, 69%)
CMYKcmyk(0%, 48.6%, 55.4%, 31.4%)
CIE-LABlab(48.23, 33.41, 22.71)
CIE-LCHlch(48.23, 40.39, 34.21°)
OKLaboklab(56.64% 0.0986 0.0556)
OKLCHoklch(56.64% 0.113 29.4)
XYZxyz(22.7122, 16.9788, 9.2874)
Luminance0.1698 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5A4E #4EA3AF
analogous
#AF4E72 #AF5A4E #AF8B4E
triadic
#AF5A4E #4EAF5A #5A4EAF
tetradic
#AF5A4E #72AF4E #4EA3AF #8B4EAF
square
#AF5A4E #72AF4E #4EA3AF #8B4EAF
split-complementary
#AF5A4E #4EAF8B #4E72AF
monochromatic
#5A2E28 #85443B #AF5A4E #C38178 #D6A8A2

Accessibility & contrast

On white

4.78
#AF5A4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#AF5A4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5A4E
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5A4E#FFFFFF#000000##FFFFFF
##AF5A4E1.004.784.404.78
#FFFFFF4.781.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E684D
Deuteranopia (green-blind)
#83794C
Tritanopia (blue-blind)
#BE4C57
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af5a4e;
/* rgb */ color: rgb(175, 90, 78);
/* oklch */ color: oklch(56.6% 0.113 29.4);
Tailwind
colors: {
  custom: {
    50: '#cb8a7f',
    500: '#af5a4e',
    950: '#000000',
  },
}
SCSS
$custom: #af5a4e;
$custom-light: #cb8a7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af5a4e",
  "rgb": {
    "r": 175,
    "g": 90,
    "b": 78
  },
  "hsl": {
    "h": 7.423,
    "s": 38.34,
    "l": 49.608
  },
  "oklch": {
    "l": 0.56642,
    "c": 0.11322,
    "h": 29.4
  },
  "luminance": 0.16976
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF5A4E

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

Preview Lab → · Contrast checker → · Palette generator →

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