#AF474B#AF474B

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

Color values

HEX#AF474B
RGBrgb(175, 71, 75)
HSLhsl(358, 42%, 48%)
HSVhsv(358, 59%, 69%)
CMYKcmyk(0%, 59.4%, 57.1%, 31.4%)
CIE-LABlab(44.42, 42.82, 19.49)
CIE-LCHlch(44.42, 47.04, 24.47°)
OKLaboklab(53.74% 0.1276 0.0479)
OKLCHoklch(53.74% 0.136 20.6)
XYZxyz(21.2043, 14.1311, 8.2662)
Luminance0.1413 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF474B #47AFAB
analogous
#AF477F #AF474B #AF7747
triadic
#AF474B #4BAF47 #474BAF
tetradic
#AF474B #7FAF47 #47AFAB #7747AF
square
#AF474B #7FAF47 #47AFAB #7747AF
split-complementary
#AF474B #47AF77 #477FAF
monochromatic
#582426 #833538 #AF474B #C46F72 #D69A9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF474B#FFFFFF#000000##FFFFFF
##AF474B1.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)
#605B4A
Deuteranopia (green-blind)
#7A7149
Tritanopia (blue-blind)
#BF3549
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af474b;
/* rgb */ color: rgb(175, 71, 75);
/* oklch */ color: oklch(53.7% 0.136 20.6);
Tailwind
colors: {
  custom: {
    50: '#cc7e7d',
    500: '#af474b',
    950: '#000000',
  },
}
SCSS
$custom: #af474b;
$custom-light: #cc7e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#af474b",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 75
  },
  "hsl": {
    "h": 357.692,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.53736,
    "c": 0.13627,
    "h": 20.6
  },
  "luminance": 0.14128
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF474B

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

Preview Lab → · Contrast checker → · Palette generator →

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