#AF3931#AF3931

#AF3931 is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.5% C 0.155 H 27.7°. Best body text is #FFFFFF at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#AF3931
RGBrgb(175, 57, 49)
HSLhsl(4, 56%, 44%)
HSVhsv(4, 72%, 69%)
CMYKcmyk(0%, 67.4%, 72%, 31.4%)
CIE-LABlab(41.63, 47.47, 31.60)
CIE-LCHlch(41.63, 57.03, 33.65°)
OKLaboklab(51.51% 0.1373 0.0721)
OKLCHoklch(51.51% 0.155 27.7)
XYZxyz(19.6988, 12.2648, 4.2352)
Luminance0.1226 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3931 #31A7AF
analogous
#AF3168 #AF3931 #AF7831
triadic
#AF3931 #31AF39 #3931AF
tetradic
#AF3931 #68AF31 #31A7AF #7831AF
square
#AF3931 #68AF31 #31A7AF #7831AF
split-complementary
#AF3931 #31AF78 #3168AF
monochromatic
#4F1A16 #7F2924 #AF3931 #CE574F #DB857F

Accessibility & contrast

On white

6.08
#AF3931 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#AF3931 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3931
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3931#FFFFFF#000000##FFFFFF
##AF39311.006.083.456.08
#FFFFFF6.081.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522F
Deuteranopia (green-blind)
#776C2D
Tritanopia (blue-blind)
#C01838
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #af3931;
/* rgb */ color: rgb(175, 57, 49);
/* oklch */ color: oklch(51.5% 0.155 27.7);
Tailwind
colors: {
  custom: {
    50: '#ce7669',
    500: '#af3931',
    950: '#000000',
  },
}
SCSS
$custom: #af3931;
$custom-light: #ce7669;
$custom-dark: #000000;
JSON
{
  "hex": "#af3931",
  "rgb": {
    "r": 175,
    "g": 57,
    "b": 49
  },
  "hsl": {
    "h": 3.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51505,
    "c": 0.15509,
    "h": 27.7
  },
  "luminance": 0.12262
}

Semantic roles & 50–950 ramp

primary
#AF3931
secondary
#78BFC4
accent
#D6E048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3931

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

Preview Lab → · Contrast checker → · Palette generator →

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