#AF323A#AF323A

#AF323A is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.161 H 21.6°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#AF323A
RGBrgb(175, 50, 58)
HSLhsl(356, 56%, 44%)
HSVhsv(356, 71%, 69%)
CMYKcmyk(0%, 71.4%, 66.9%, 31.4%)
CIE-LABlab(40.74, 50.75, 25.13)
CIE-LCHlch(40.74, 56.63, 26.34°)
OKLaboklab(50.88% 0.1496 0.0593)
OKLCHoklch(50.88% 0.161 21.6)
XYZxyz(19.5856, 11.7035, 5.2299)
Luminance0.1170 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF323A #32AFA7
analogous
#AF3279 #AF323A #AF6932
triadic
#AF323A #3AAF32 #323AAF
tetradic
#AF323A #79AF32 #32AFA7 #6932AF
square
#AF323A #79AF32 #32AFA7 #6932AF
split-complementary
#AF323A #32AF69 #3279AF
monochromatic
#50171A #7F242A #AF323A #CD5159 #DB8186

Accessibility & contrast

On white

6.29
#AF323A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#AF323A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF323A
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF323A#FFFFFF#000000##FFFFFF
##AF323A1.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554F39
Deuteranopia (green-blind)
#746A36
Tritanopia (blue-blind)
#C00836
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af323a;
/* rgb */ color: rgb(175, 50, 58);
/* oklch */ color: oklch(50.9% 0.161 21.6);
Tailwind
colors: {
  custom: {
    50: '#ce7370',
    500: '#af323a',
    950: '#000000',
  },
}
SCSS
$custom: #af323a;
$custom-light: #ce7370;
$custom-dark: #000000;
JSON
{
  "hex": "#af323a",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 58
  },
  "hsl": {
    "h": 356.16,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50881,
    "c": 0.16089,
    "h": 21.6
  },
  "luminance": 0.11701
}

Semantic roles & 50–950 ramp

primary
#AF323A
secondary
#79C4BF
accent
#DFD549
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150907
muted
#837B7A

Preview Lab

Preview with #AF323A

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

Preview Lab → · Contrast checker → · Palette generator →

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