#AF394F#AF394F

#AF394F is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.153 H 13.3°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AF394F
RGBrgb(175, 57, 79)
HSLhsl(349, 51%, 45%)
HSVhsv(349, 67%, 69%)
CMYKcmyk(0%, 67.4%, 54.9%, 31.4%)
CIE-LABlab(42.17, 49.41, 13.99)
CIE-LCHlch(42.17, 51.35, 15.81°)
OKLaboklab(52.08% 0.1491 0.0351)
OKLCHoklch(52.08% 0.153 13.3)
XYZxyz(20.5554, 12.6075, 8.7467)
Luminance0.1260 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF394F #39AF99
analogous
#AF398A #AF394F #AF5E39
triadic
#AF394F #4FAF39 #394FAF
tetradic
#AF394F #8AAF39 #39AF99 #5E39AF
square
#AF394F #8AAF39 #39AF99 #5E39AF
split-complementary
#AF394F #39AF5E #398AAF
monochromatic
#531B25 #812A3A #AF394F #CA5B70 #D98A98

Accessibility & contrast

On white

5.96
#AF394F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#AF394F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF394F
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF394F#FFFFFF#000000##FFFFFF
##AF394F1.005.963.525.96
#FFFFFF5.961.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544F
Deuteranopia (green-blind)
#746C4C
Tritanopia (blue-blind)
#BF2242
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af394f;
/* rgb */ color: rgb(175, 57, 79);
/* oklch */ color: oklch(52.1% 0.153 13.3);
Tailwind
colors: {
  custom: {
    50: '#cd7780',
    500: '#af394f',
    950: '#000000',
  },
}
SCSS
$custom: #af394f;
$custom-light: #cd7780;
$custom-dark: #000000;
JSON
{
  "hex": "#af394f",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 79
  },
  "hsl": {
    "h": 348.814,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52075,
    "c": 0.15314,
    "h": 13.3
  },
  "luminance": 0.12605
}

Semantic roles & 50–950 ramp

primary
#AF394F
secondary
#81C3B7
accent
#DAC04D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF394F

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

Preview Lab → · Contrast checker → · Palette generator →

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