#AF475E#AF475E

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

Color values

HEX#AF475E
RGBrgb(175, 71, 94)
HSLhsl(347, 42%, 48%)
HSVhsv(347, 59%, 69%)
CMYKcmyk(0%, 59.4%, 46.3%, 31.4%)
CIE-LABlab(44.84, 44.52, 8.44)
CIE-LCHlch(44.84, 45.31, 10.74°)
OKLaboklab(54.19% 0.1352 0.022)
OKLCHoklch(54.19% 0.137 9.2)
XYZxyz(21.9544, 14.4311, 12.2168)
Luminance0.1443 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF475E #47AF98
analogous
#AF4792 #AF475E #AF6447
triadic
#AF475E #5EAF47 #475EAF
tetradic
#AF475E #92AF47 #47AF98 #6447AF
square
#AF475E #92AF47 #47AF98 #6447AF
split-complementary
#AF475E #47AF64 #4792AF
monochromatic
#58242F #833547 #AF475E #C46F82 #D69AA8

Accessibility & contrast

On white

5.40
#AF475E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#AF475E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF475E
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF475E#FFFFFF#000000##FFFFFF
##AF475E1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D5D5E
Deuteranopia (green-blind)
#78725C
Tritanopia (blue-blind)
#BE3950
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af475e;
/* rgb */ color: rgb(175, 71, 94);
/* oklch */ color: oklch(54.2% 0.137 9.2);
Tailwind
colors: {
  custom: {
    50: '#cb7f8b',
    500: '#af475e',
    950: '#000000',
  },
}
SCSS
$custom: #af475e;
$custom-light: #cb7f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#af475e",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 94
  },
  "hsl": {
    "h": 346.731,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54194,
    "c": 0.13694,
    "h": 9.2
  },
  "luminance": 0.14429
}

Semantic roles & 50–950 ramp

primary
#AF475E
secondary
#8FC2B7
accent
#D2B756
background
#FDF7F8
surface
#FAEEF0
border
#D3C9CB
text
#140A0C
muted
#837C7D

Preview Lab

Preview with #AF475E

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

Preview Lab → · Contrast checker → · Palette generator →

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