#AF393A#AF393A

#AF393A is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.6% C 0.154 H 23.8°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#AF393A
RGBrgb(175, 57, 58)
HSLhsl(359, 51%, 45%)
HSVhsv(359, 67%, 69%)
CMYKcmyk(0%, 67.4%, 66.9%, 31.4%)
CIE-LABlab(41.76, 47.95, 26.40)
CIE-LCHlch(41.76, 54.74, 28.83°)
OKLaboklab(51.65% 0.1407 0.0621)
OKLCHoklch(51.65% 0.154 23.8)
XYZxyz(19.9081, 12.3485, 5.3374)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF393A #39AFAE
analogous
#AF3975 #AF393A #AF7339
triadic
#AF393A #3AAF39 #393AAF
tetradic
#AF393A #75AF39 #39AFAE #7339AF
square
#AF393A #75AF39 #39AFAE #7339AF
split-complementary
#AF393A #39AF73 #3975AF
monochromatic
#531B1B #812A2B #AF393A #CA5B5C #D98A8A

Accessibility & contrast

On white

6.05
#AF393A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AF393A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF393A
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF393A#FFFFFF#000000##FFFFFF
##AF393A1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595339
Deuteranopia (green-blind)
#776C37
Tritanopia (blue-blind)
#C01B3B
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af393a;
/* rgb */ color: rgb(175, 57, 58);
/* oklch */ color: oklch(51.6% 0.154 23.8);
Tailwind
colors: {
  custom: {
    50: '#ce7670',
    500: '#af393a',
    950: '#000000',
  },
}
SCSS
$custom: #af393a;
$custom-light: #ce7670;
$custom-dark: #000000;
JSON
{
  "hex": "#af393a",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 58
  },
  "hsl": {
    "h": 359.492,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51645,
    "c": 0.15379,
    "h": 23.8
  },
  "luminance": 0.12346
}

Semantic roles & 50–950 ramp

primary
#AF393A
secondary
#81C3C2
accent
#DAD94D
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF393A

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

Preview Lab → · Contrast checker → · Palette generator →

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