#AF585F#AF585F

#AF585F is a mid, moderate red. Relative luminance 0.169; OKLCH L 56.7% C 0.113 H 16.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#AF585F
RGBrgb(175, 88, 95)
HSLhsl(355, 35%, 52%)
HSVhsv(355, 50%, 69%)
CMYKcmyk(0%, 49.7%, 45.7%, 31.4%)
CIE-LABlab(48.16, 36.08, 12.48)
CIE-LCHlch(48.16, 38.18, 19.08°)
OKLaboklab(56.7% 0.1089 0.0319)
OKLCHoklch(56.7% 0.113 16.3)
XYZxyz(23.2359, 16.9220, 12.8668)
Luminance0.1692 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF585F #58AFA8
analogous
#AF588B #AF585F #AF7D58
triadic
#AF585F #5FAF58 #585FAF
tetradic
#AF585F #8BAF58 #58AFA8 #7D58AF
square
#AF585F #8BAF58 #58AFA8 #7D58AF
split-complementary
#AF585F #58AF7D #588BAF
monochromatic
#5F2E32 #884147 #AF585F #C38187 #D7ABAE

Accessibility & contrast

On white

4.79
#AF585F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#AF585F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF585F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF585F#FFFFFF#000000##FFFFFF
##AF585F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A685F
Deuteranopia (green-blind)
#80795D
Tritanopia (blue-blind)
#BD4D5B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af585f;
/* rgb */ color: rgb(175, 88, 95);
/* oklch */ color: oklch(56.7% 0.113 16.3);
Tailwind
colors: {
  custom: {
    50: '#ca898c',
    500: '#af585f',
    950: '#000000',
  },
}
SCSS
$custom: #af585f;
$custom-light: #ca898c;
$custom-dark: #000000;
JSON
{
  "hex": "#af585f",
  "rgb": {
    "r": 175,
    "g": 88,
    "b": 95
  },
  "hsl": {
    "h": 355.172,
    "s": 35.223,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56702,
    "c": 0.11345,
    "h": 16.3
  },
  "luminance": 0.1692
}

Semantic roles & 50–950 ramp

primary
#AF585F
secondary
#9EC5C1
accent
#CBC25D
background
#FCF8F8
surface
#F9F0F0
border
#D2CBCB
text
#140C0C
muted
#827D7D

Preview Lab

Preview with #AF585F

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

Preview Lab → · Contrast checker → · Palette generator →

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