#AF474C#AF474C

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

Color values

HEX#AF474C
RGBrgb(175, 71, 76)
HSLhsl(357, 42%, 48%)
HSVhsv(357, 59%, 69%)
CMYKcmyk(0%, 59.4%, 56.6%, 31.4%)
CIE-LABlab(44.44, 42.90, 18.90)
CIE-LCHlch(44.44, 46.88, 23.78°)
OKLaboklab(53.76% 0.128 0.0466)
OKLCHoklch(53.76% 0.136 20)
XYZxyz(21.2388, 14.1449, 8.4479)
Luminance0.1414 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF474C #47AFAA
analogous
#AF4780 #AF474C #AF7647
triadic
#AF474C #4CAF47 #474CAF
tetradic
#AF474C #80AF47 #47AFAA #7647AF
square
#AF474C #80AF47 #47AFAA #7647AF
split-complementary
#AF474C #47AF76 #4780AF
monochromatic
#582426 #833539 #AF474C #C46F73 #D69A9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF474C#FFFFFF#000000##FFFFFF
##AF474C1.005.493.835.49
#FFFFFF5.491.0021.001.00
#0000003.8321.001.0021.00
##FFFFFF5.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605B4C
Deuteranopia (green-blind)
#7A714A
Tritanopia (blue-blind)
#BF354A
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af474c;
/* rgb */ color: rgb(175, 71, 76);
/* oklch */ color: oklch(53.8% 0.136 20.0);
Tailwind
colors: {
  custom: {
    50: '#cc7e7e',
    500: '#af474c',
    950: '#000000',
  },
}
SCSS
$custom: #af474c;
$custom-light: #cc7e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#af474c",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 76
  },
  "hsl": {
    "h": 357.115,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53757,
    "c": 0.1362,
    "h": 20
  },
  "luminance": 0.14142
}

Semantic roles & 50–950 ramp

primary
#AF474C
secondary
#8FC2C0
accent
#D2CC56
background
#FDF7F7
surface
#FAEEEE
border
#D3C9C9
text
#140A09
muted
#837C7B

Preview Lab

Preview with #AF474C

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

Preview Lab → · Contrast checker → · Palette generator →

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