#AF3731#AF3731

#AF3731 is a mid, vivid red. Relative luminance 0.121; OKLCH L 51.3% C 0.157 H 27.0°. Best body text is #FFFFFF at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#AF3731
RGBrgb(175, 55, 49)
HSLhsl(3, 56%, 44%)
HSVhsv(3, 72%, 69%)
CMYKcmyk(0%, 68.6%, 72%, 31.4%)
CIE-LABlab(41.33, 48.30, 31.25)
CIE-LCHlch(41.33, 57.53, 32.90°)
OKLaboklab(51.28% 0.1399 0.0714)
OKLCHoklch(51.28% 0.157 27)
XYZxyz(19.6019, 12.0710, 4.2029)
Luminance0.1207 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3731 #31A9AF
analogous
#AF316A #AF3731 #AF7631
triadic
#AF3731 #31AF37 #3731AF
tetradic
#AF3731 #6AAF31 #31A9AF #7631AF
square
#AF3731 #6AAF31 #31A9AF #7631AF
split-complementary
#AF3731 #31AF76 #316AAF
monochromatic
#4F1916 #7F2824 #AF3731 #CE554F #DB847F

Accessibility & contrast

On white

6.15
#AF3731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.41
#AF3731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3731
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3731#FFFFFF#000000##FFFFFF
##AF37311.006.153.416.15
#FFFFFF6.151.0021.001.00
#0000003.4121.001.0021.00
##FFFFFF6.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512F
Deuteranopia (green-blind)
#776B2D
Tritanopia (blue-blind)
#C01337
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3731;
/* rgb */ color: rgb(175, 55, 49);
/* oklch */ color: oklch(51.3% 0.157 27.0);
Tailwind
colors: {
  custom: {
    50: '#cf7569',
    500: '#af3731',
    950: '#000000',
  },
}
SCSS
$custom: #af3731;
$custom-light: #cf7569;
$custom-dark: #000000;
JSON
{
  "hex": "#af3731",
  "rgb": {
    "r": 175,
    "g": 55,
    "b": 49
  },
  "hsl": {
    "h": 2.857,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51277,
    "c": 0.15705,
    "h": 27
  },
  "luminance": 0.12068
}

Semantic roles & 50–950 ramp

primary
#AF3731
secondary
#78C0C4
accent
#D8E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3731

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

Preview Lab → · Contrast checker → · Palette generator →

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