#AF474D#AF474D

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

Color values

HEX#AF474D
RGBrgb(175, 71, 77)
HSLhsl(357, 42%, 48%)
HSVhsv(357, 59%, 69%)
CMYKcmyk(0%, 59.4%, 56%, 31.4%)
CIE-LABlab(44.46, 42.98, 18.32)
CIE-LCHlch(44.46, 46.72, 23.09°)
OKLaboklab(53.78% 0.1284 0.0453)
OKLCHoklch(53.78% 0.136 19.4)
XYZxyz(21.2738, 14.1589, 8.6324)
Luminance0.1416 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF474D #47AFA9
analogous
#AF4781 #AF474D #AF7547
triadic
#AF474D #4DAF47 #474DAF
tetradic
#AF474D #81AF47 #47AFA9 #7547AF
square
#AF474D #81AF47 #47AFA9 #7547AF
split-complementary
#AF474D #47AF75 #4781AF
monochromatic
#582427 #83353A #AF474D #C46F74 #D69A9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF474D#FFFFFF#000000##FFFFFF
##AF474D1.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)
#605C4D
Deuteranopia (green-blind)
#7A714B
Tritanopia (blue-blind)
#BF354A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af474d;
/* rgb */ color: rgb(175, 71, 77);
/* oklch */ color: oklch(53.8% 0.136 19.4);
Tailwind
colors: {
  custom: {
    50: '#cc7e7e',
    500: '#af474d',
    950: '#000000',
  },
}
SCSS
$custom: #af474d;
$custom-light: #cc7e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#af474d",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 77
  },
  "hsl": {
    "h": 356.538,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53779,
    "c": 0.13613,
    "h": 19.4
  },
  "luminance": 0.14156
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF474D

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

Preview Lab → · Contrast checker → · Palette generator →

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