#AF394B#AF394B

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

Color values

HEX#AF394B
RGBrgb(175, 57, 75)
HSLhsl(351, 51%, 45%)
HSVhsv(351, 67%, 69%)
CMYKcmyk(0%, 67.4%, 57.1%, 31.4%)
CIE-LABlab(42.08, 49.09, 16.36)
CIE-LCHlch(42.08, 51.75, 18.43°)
OKLaboklab(51.98% 0.1475 0.0406)
OKLCHoklch(51.98% 0.153 15.4)
XYZxyz(20.4142, 12.5510, 8.0029)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF394B #39AF9D
analogous
#AF3986 #AF394B #AF6239
triadic
#AF394B #4BAF39 #394BAF
tetradic
#AF394B #86AF39 #39AF9D #6239AF
square
#AF394B #86AF39 #39AF9D #6239AF
split-complementary
#AF394B #39AF62 #3986AF
monochromatic
#531B23 #812A37 #AF394B #CA5B6C #D98A96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF394B#FFFFFF#000000##FFFFFF
##AF394B1.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)
#56544B
Deuteranopia (green-blind)
#756C48
Tritanopia (blue-blind)
#BF2140
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #af394b;
/* rgb */ color: rgb(175, 57, 75);
/* oklch */ color: oklch(52.0% 0.153 15.4);
Tailwind
colors: {
  custom: {
    50: '#cd777d',
    500: '#af394b',
    950: '#000000',
  },
}
SCSS
$custom: #af394b;
$custom-light: #cd777d;
$custom-dark: #000000;
JSON
{
  "hex": "#af394b",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 75
  },
  "hsl": {
    "h": 350.847,
    "s": 50.862,
    "l": 45.49
  },
  "oklch": {
    "l": 0.51982,
    "c": 0.15294,
    "h": 15.4
  },
  "luminance": 0.12548
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF394B

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

Preview Lab → · Contrast checker → · Palette generator →

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