#AF474A#AF474A

#AF474A is a mid, vivid red. Relative luminance 0.141; OKLCH L 53.7% C 0.136 H 21.2°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#AF474A
RGBrgb(175, 71, 74)
HSLhsl(358, 42%, 48%)
HSVhsv(358, 59%, 69%)
CMYKcmyk(0%, 59.4%, 57.7%, 31.4%)
CIE-LABlab(44.40, 42.74, 20.07)
CIE-LCHlch(44.40, 47.21, 25.15°)
OKLaboklab(53.72% 0.1272 0.0492)
OKLCHoklch(53.72% 0.136 21.2)
XYZxyz(21.1703, 14.1175, 8.0874)
Luminance0.1411 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF474A #47AFAC
analogous
#AF477E #AF474A #AF7847
triadic
#AF474A #4AAF47 #474AAF
tetradic
#AF474A #7EAF47 #47AFAC #7847AF
square
#AF474A #7EAF47 #47AFAC #7847AF
split-complementary
#AF474A #47AF78 #477EAF
monochromatic
#582425 #833538 #AF474A #C46F71 #D69A9C

Accessibility & contrast

On white

5.49
#AF474A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#AF474A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF474A
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF474A#FFFFFF#000000##FFFFFF
##AF474A1.005.493.825.49
#FFFFFF5.491.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605B49
Deuteranopia (green-blind)
#7A7148
Tritanopia (blue-blind)
#BF3549
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af474a;
/* rgb */ color: rgb(175, 71, 74);
/* oklch */ color: oklch(53.7% 0.136 21.2);
Tailwind
colors: {
  custom: {
    50: '#cc7e7c',
    500: '#af474a',
    950: '#000000',
  },
}
SCSS
$custom: #af474a;
$custom-light: #cc7e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#af474a",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 74
  },
  "hsl": {
    "h": 358.269,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53715,
    "c": 0.13635,
    "h": 21.2
  },
  "luminance": 0.14115
}

Semantic roles & 50–950 ramp

primary
#AF474A
secondary
#8FC2C1
accent
#D2CE56
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AF474A

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

Preview Lab → · Contrast checker → · Palette generator →

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