#AF475B#AF475B

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

Color values

HEX#AF475B
RGBrgb(175, 71, 91)
HSLhsl(348, 42%, 48%)
HSVhsv(348, 59%, 69%)
CMYKcmyk(0%, 59.4%, 48%, 31.4%)
CIE-LABlab(44.77, 44.22, 10.18)
CIE-LCHlch(44.77, 45.38, 12.96°)
OKLaboklab(54.11% 0.134 0.0262)
OKLCHoklch(54.11% 0.137 11.1)
XYZxyz(21.8224, 14.3783, 11.5216)
Luminance0.1438 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF475B #47AF9B
analogous
#AF478F #AF475B #AF6747
triadic
#AF475B #5BAF47 #475BAF
tetradic
#AF475B #8FAF47 #47AF9B #6747AF
square
#AF475B #8FAF47 #47AF9B #6747AF
split-complementary
#AF475B #47AF67 #478FAF
monochromatic
#58242E #833544 #AF475B #C46F7F #D69AA6

Accessibility & contrast

On white

5.42
#AF475B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF475B
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF475B#FFFFFF#000000##FFFFFF
##AF475B1.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5D5B
Deuteranopia (green-blind)
#787259
Tritanopia (blue-blind)
#BE394F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af475b;
/* rgb */ color: rgb(175, 71, 91);
/* oklch */ color: oklch(54.1% 0.137 11.1);
Tailwind
colors: {
  custom: {
    50: '#cb7f89',
    500: '#af475b',
    950: '#000000',
  },
}
SCSS
$custom: #af475b;
$custom-light: #cb7f89;
$custom-dark: #000000;
JSON
{
  "hex": "#af475b",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 91
  },
  "hsl": {
    "h": 348.462,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54114,
    "c": 0.13654,
    "h": 11.1
  },
  "luminance": 0.14376
}

Semantic roles & 50–950 ramp

primary
#AF475B
secondary
#8FC2B9
accent
#D2BA56
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0B
muted
#837C7C

Preview Lab

Preview with #AF475B

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

Preview Lab → · Contrast checker → · Palette generator →

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