#AF394A#AF394A

#AF394A is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.0% C 0.153 H 15.9°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#AF394A
RGBrgb(175, 57, 74)
HSLhsl(351, 51%, 45%)
HSVhsv(351, 67%, 69%)
CMYKcmyk(0%, 67.4%, 57.7%, 31.4%)
CIE-LABlab(42.06, 49.02, 16.95)
CIE-LCHlch(42.06, 51.87, 19.08°)
OKLaboklab(51.96% 0.1471 0.0419)
OKLCHoklch(51.96% 0.153 15.9)
XYZxyz(20.3802, 12.5374, 7.8240)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF394A #39AF9E
analogous
#AF3985 #AF394A #AF6339
triadic
#AF394A #4AAF39 #394AAF
tetradic
#AF394A #85AF39 #39AF9E #6339AF
square
#AF394A #85AF39 #39AF9E #6339AF
split-complementary
#AF394A #39AF63 #3985AF
monochromatic
#531B23 #812A36 #AF394A #CA5B6B #D98A95

Accessibility & contrast

On white

5.99
#AF394A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AF394A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF394A
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF394A#FFFFFF#000000##FFFFFF
##AF394A1.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57544A
Deuteranopia (green-blind)
#756C47
Tritanopia (blue-blind)
#BF2040
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af394a;
/* rgb */ color: rgb(175, 57, 74);
/* oklch */ color: oklch(52.0% 0.153 15.9);
Tailwind
colors: {
  custom: {
    50: '#cd777c',
    500: '#af394a',
    950: '#000000',
  },
}
SCSS
$custom: #af394a;
$custom-light: #cd777c;
$custom-dark: #000000;
JSON
{
  "hex": "#af394a",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 74
  },
  "hsl": {
    "h": 351.356,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51959,
    "c": 0.15292,
    "h": 15.9
  },
  "luminance": 0.12535
}

Semantic roles & 50–950 ramp

primary
#AF394A
secondary
#81C3B9
accent
#DAC64D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF394A

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

Preview Lab → · Contrast checker → · Palette generator →

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