#AF394D#AF394D

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

Color values

HEX#AF394D
RGBrgb(175, 57, 77)
HSLhsl(350, 51%, 45%)
HSVhsv(350, 67%, 69%)
CMYKcmyk(0%, 67.4%, 56%, 31.4%)
CIE-LABlab(42.12, 49.25, 15.17)
CIE-LCHlch(42.12, 51.53, 17.12°)
OKLaboklab(52.03% 0.1483 0.0379)
OKLCHoklch(52.03% 0.153 14.3)
XYZxyz(20.4837, 12.5788, 8.3690)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF394D #39AF9B
analogous
#AF3988 #AF394D #AF6039
triadic
#AF394D #4DAF39 #394DAF
tetradic
#AF394D #88AF39 #39AF9B #6039AF
square
#AF394D #88AF39 #39AF9B #6039AF
split-complementary
#AF394D #39AF60 #3988AF
monochromatic
#531B24 #812A39 #AF394D #CA5B6E #D98A97

Accessibility & contrast

On white

5.97
#AF394D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF394D
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF394D#FFFFFF#000000##FFFFFF
##AF394D1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56544D
Deuteranopia (green-blind)
#746C4A
Tritanopia (blue-blind)
#BF2141
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af394d;
/* rgb */ color: rgb(175, 57, 77);
/* oklch */ color: oklch(52.0% 0.153 14.3);
Tailwind
colors: {
  custom: {
    50: '#cd777e',
    500: '#af394d',
    950: '#000000',
  },
}
SCSS
$custom: #af394d;
$custom-light: #cd777e;
$custom-dark: #000000;
JSON
{
  "hex": "#af394d",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 77
  },
  "hsl": {
    "h": 349.831,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52028,
    "c": 0.15302,
    "h": 14.3
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#AF394D
secondary
#81C3B8
accent
#DAC24D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#15090A
muted
#837B7C

Preview Lab

Preview with #AF394D

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

Preview Lab → · Contrast checker → · Palette generator →

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