#AF475F#AF475F

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

Color values

HEX#AF475F
RGBrgb(175, 71, 95)
HSLhsl(346, 42%, 48%)
HSVhsv(346, 59%, 69%)
CMYKcmyk(0%, 59.4%, 45.7%, 31.4%)
CIE-LABlab(44.87, 44.62, 7.86)
CIE-LCHlch(44.87, 45.31, 9.99°)
OKLaboklab(54.22% 0.1356 0.0205)
OKLCHoklch(54.22% 0.137 8.6)
XYZxyz(21.9995, 14.4492, 12.4547)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF475F #47AF97
analogous
#AF4793 #AF475F #AF6347
triadic
#AF475F #5FAF47 #475FAF
tetradic
#AF475F #93AF47 #47AF97 #6347AF
square
#AF475F #93AF47 #47AF97 #6347AF
split-complementary
#AF475F #47AF63 #4793AF
monochromatic
#582430 #833547 #AF475F #C46F83 #D69AA8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF475F#FFFFFF#000000##FFFFFF
##AF475F1.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)
#5C5D5F
Deuteranopia (green-blind)
#77725D
Tritanopia (blue-blind)
#BE3A50
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af475f;
/* rgb */ color: rgb(175, 71, 95);
/* oklch */ color: oklch(54.2% 0.137 8.6);
Tailwind
colors: {
  custom: {
    50: '#cb7f8c',
    500: '#af475f',
    950: '#000000',
  },
}
SCSS
$custom: #af475f;
$custom-light: #cb7f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#af475f",
  "rgb": {
    "r": 175,
    "g": 71,
    "b": 95
  },
  "hsl": {
    "h": 346.154,
    "s": 42.276,
    "l": 48.235
  },
  "oklch": {
    "l": 0.54221,
    "c": 0.13711,
    "h": 8.6
  },
  "luminance": 0.14447
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF475F

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

Preview Lab → · Contrast checker → · Palette generator →

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