#AF3231#AF3231

#AF3231 is a mid, vivid red. Relative luminance 0.116; OKLCH L 50.7% C 0.162 H 25.4°. Best body text is #FFFFFF at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#AF3231
RGBrgb(175, 50, 49)
HSLhsl(0, 56%, 44%)
HSVhsv(0, 72%, 69%)
CMYKcmyk(0%, 71.4%, 72%, 31.4%)
CIE-LABlab(40.61, 50.28, 30.41)
CIE-LCHlch(40.61, 58.76, 31.16°)
OKLaboklab(50.74% 0.1462 0.0695)
OKLCHoklch(50.74% 0.162 25.4)
XYZxyz(19.3763, 11.6198, 4.1277)
Luminance0.1162 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3231 #31AEAF
analogous
#AF316F #AF3231 #AF7131
triadic
#AF3231 #31AF32 #3231AF
tetradic
#AF3231 #6FAF31 #31AEAF #7131AF
square
#AF3231 #6FAF31 #31AEAF #7131AF
split-complementary
#AF3231 #31AF71 #316FAF
monochromatic
#4F1716 #7F2424 #AF3231 #CE504F #DB807F

Accessibility & contrast

On white

6.32
#AF3231 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AF3231 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3231
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3231#FFFFFF#000000##FFFFFF
##AF32311.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564F30
Deuteranopia (green-blind)
#756A2D
Tritanopia (blue-blind)
#C10233
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #af3231;
/* rgb */ color: rgb(175, 50, 49);
/* oklch */ color: oklch(50.7% 0.162 25.4);
Tailwind
colors: {
  custom: {
    50: '#cf7369',
    500: '#af3231',
    950: '#000000',
  },
}
SCSS
$custom: #af3231;
$custom-light: #cf7369;
$custom-dark: #000000;
JSON
{
  "hex": "#af3231",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 49
  },
  "hsl": {
    "h": 0.476,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50736,
    "c": 0.16185,
    "h": 25.4
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

primary
#AF3231
secondary
#78C4C4
accent
#DEE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150806
muted
#837B7A

Preview Lab

Preview with #AF3231

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

Preview Lab → · Contrast checker → · Palette generator →

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