#AF474E#AF474E

#AF474E is a mid, vivid red. Relative luminance 0.142; OKLCH L 53.8% C 0.136 H 18.9°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#AF474E
RGBrgb(175, 71, 78)
HSLhsl(356, 42%, 48%)
HSVhsv(356, 59%, 69%)
CMYKcmyk(0%, 59.4%, 55.4%, 31.4%)
CIE-LABlab(44.48, 43.06, 17.74)
CIE-LCHlch(44.48, 46.57, 22.39°)
OKLaboklab(53.8% 0.1288 0.044)
OKLCHoklch(53.8% 0.136 18.9)
XYZxyz(21.3094, 14.1731, 8.8198)
Luminance0.1417 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF474E #47AFA8
analogous
#AF4782 #AF474E #AF7447
triadic
#AF474E #4EAF47 #474EAF
tetradic
#AF474E #82AF47 #47AFA8 #7447AF
square
#AF474E #82AF47 #47AFA8 #7447AF
split-complementary
#AF474E #47AF74 #4782AF
monochromatic
#582427 #83353B #AF474E #C46F75 #D69A9E

Accessibility & contrast

On white

5.48
#AF474E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.83
#AF474E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF474E
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF474E#FFFFFF#000000##FFFFFF
##AF474E1.005.483.835.48
#FFFFFF5.481.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605C4E
Deuteranopia (green-blind)
#7A714C
Tritanopia (blue-blind)
#BF364A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af474e;
/* rgb */ color: rgb(175, 71, 78);
/* oklch */ color: oklch(53.8% 0.136 18.9);
Tailwind
colors: {
  custom: {
    50: '#cc7e7f',
    500: '#af474e',
    950: '#000000',
  },
}
SCSS
$custom: #af474e;
$custom-light: #cc7e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#af474e",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 78
  },
  "hsl": {
    "h": 355.962,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53801,
    "c": 0.13609,
    "h": 18.9
  },
  "luminance": 0.1417
}

Semantic roles & 50–950 ramp

primary
#AF474E
secondary
#8FC2BF
accent
#D2CA56
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A0A
muted
#837C7C

Preview Lab

Preview with #AF474E

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

Preview Lab → · Contrast checker → · Palette generator →

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