#AF475D#AF475D

#AF475D is a mid, vivid red. Relative luminance 0.144; OKLCH L 54.2% C 0.137 H 9.8°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#AF475D
RGBrgb(175, 71, 93)
HSLhsl(347, 42%, 48%)
HSVhsv(347, 59%, 69%)
CMYKcmyk(0%, 59.4%, 46.9%, 31.4%)
CIE-LABlab(44.82, 44.42, 9.02)
CIE-LCHlch(44.82, 45.33, 11.48°)
OKLaboklab(54.17% 0.1348 0.0234)
OKLCHoklch(54.17% 0.137 9.8)
XYZxyz(21.9098, 14.4133, 11.9820)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF475D #47AF99
analogous
#AF4791 #AF475D #AF6547
triadic
#AF475D #5DAF47 #475DAF
tetradic
#AF475D #91AF47 #47AF99 #6547AF
square
#AF475D #91AF47 #47AF99 #6547AF
split-complementary
#AF475D #47AF65 #4791AF
monochromatic
#58242F #833546 #AF475D #C46F81 #D69AA7

Accessibility & contrast

On white

5.41
#AF475D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF475D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF475D
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF475D#FFFFFF#000000##FFFFFF
##AF475D1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5D5D
Deuteranopia (green-blind)
#78725B
Tritanopia (blue-blind)
#BE394F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af475d;
/* rgb */ color: rgb(175, 71, 93);
/* oklch */ color: oklch(54.2% 0.137 9.8);
Tailwind
colors: {
  custom: {
    50: '#cb7f8a',
    500: '#af475d',
    950: '#000000',
  },
}
SCSS
$custom: #af475d;
$custom-light: #cb7f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#af475d",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 93
  },
  "hsl": {
    "h": 347.308,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54167,
    "c": 0.13679,
    "h": 9.8
  },
  "luminance": 0.14411
}

Semantic roles & 50–950 ramp

primary
#AF475D
secondary
#8FC2B8
accent
#D2B856
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF475D

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

Preview Lab → · Contrast checker → · Palette generator →

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