#AF394C#AF394C

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

Color values

HEX#AF394C
RGBrgb(175, 57, 76)
HSLhsl(350, 51%, 45%)
HSVhsv(350, 67%, 69%)
CMYKcmyk(0%, 67.4%, 56.6%, 31.4%)
CIE-LABlab(42.10, 49.17, 15.77)
CIE-LCHlch(42.10, 51.64, 17.78°)
OKLaboklab(52% 0.1479 0.0392)
OKLCHoklch(52% 0.153 14.9)
XYZxyz(20.4487, 12.5648, 8.1845)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF394C #39AF9C
analogous
#AF3987 #AF394C #AF6139
triadic
#AF394C #4CAF39 #394CAF
tetradic
#AF394C #87AF39 #39AF9C #6139AF
square
#AF394C #87AF39 #39AF9C #6139AF
split-complementary
#AF394C #39AF61 #3987AF
monochromatic
#531B24 #812A38 #AF394C #CA5B6D #D98A96

Accessibility & contrast

On white

5.98
#AF394C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF394C
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF394C#FFFFFF#000000##FFFFFF
##AF394C1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af394c;
/* rgb */ color: rgb(175, 57, 76);
/* oklch */ color: oklch(52.0% 0.153 14.9);
Tailwind
colors: {
  custom: {
    50: '#cd777d',
    500: '#af394c',
    950: '#000000',
  },
}
SCSS
$custom: #af394c;
$custom-light: #cd777d;
$custom-dark: #000000;
JSON
{
  "hex": "#af394c",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 76
  },
  "hsl": {
    "h": 350.339,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52004,
    "c": 0.15298,
    "h": 14.9
  },
  "luminance": 0.12562
}

Semantic roles & 50–950 ramp

primary
#AF394C
secondary
#81C3B8
accent
#DAC44D
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#150909
muted
#837B7B

Preview Lab

Preview with #AF394C

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

Preview Lab → · Contrast checker → · Palette generator →

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