#AF323B#AF323B

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

Color values

HEX#AF323B
RGBrgb(175, 50, 59)
HSLhsl(356, 56%, 44%)
HSVhsv(356, 71%, 69%)
CMYKcmyk(0%, 71.4%, 66.3%, 31.4%)
CIE-LABlab(40.76, 50.81, 24.54)
CIE-LCHlch(40.76, 56.42, 25.77°)
OKLaboklab(50.9% 0.15 0.0581)
OKLCHoklch(50.9% 0.161 21.2)
XYZxyz(19.6113, 11.7138, 5.3652)
Luminance0.1171 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF323B #32AFA6
analogous
#AF327A #AF323B #AF6832
triadic
#AF323B #3BAF32 #323BAF
tetradic
#AF323B #7AAF32 #32AFA6 #6832AF
square
#AF323B #7AAF32 #32AFA6 #6832AF
split-complementary
#AF323B #32AF68 #327AAF
monochromatic
#50171B #7F242B #AF323B #CD515A #DB8187

Accessibility & contrast

On white

6.28
#AF323B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF323B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF323B#FFFFFF#000000##FFFFFF
##AF323B1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af323b;
/* rgb */ color: rgb(175, 50, 59);
/* oklch */ color: oklch(50.9% 0.161 21.2);
Tailwind
colors: {
  custom: {
    50: '#ce7371',
    500: '#af323b',
    950: '#000000',
  },
}
SCSS
$custom: #af323b;
$custom-light: #ce7371;
$custom-dark: #000000;
JSON
{
  "hex": "#af323b",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 59
  },
  "hsl": {
    "h": 355.68,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.50898,
    "c": 0.16081,
    "h": 21.2
  },
  "luminance": 0.11711
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF323B

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

Preview Lab → · Contrast checker → · Palette generator →

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