#AF3F31#AF3F31

#AF3F31 is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.2% C 0.149 H 30.0°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#AF3F31
RGBrgb(175, 63, 49)
HSLhsl(7, 56%, 44%)
HSVhsv(7, 72%, 69%)
CMYKcmyk(0%, 64%, 72%, 31.4%)
CIE-LABlab(42.60, 44.86, 32.72)
CIE-LCHlch(42.60, 55.53, 36.10°)
OKLaboklab(52.23% 0.1291 0.0746)
OKLCHoklch(52.23% 0.149 30)
XYZxyz(20.0132, 12.8935, 4.3400)
Luminance0.1289 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3F31 #31A1AF
analogous
#AF3162 #AF3F31 #AF7E31
triadic
#AF3F31 #31AF3F #3F31AF
tetradic
#AF3F31 #62AF31 #31A1AF #7E31AF
square
#AF3F31 #62AF31 #31A1AF #7E31AF
split-complementary
#AF3F31 #31AF7E #3162AF
monochromatic
#4F1D16 #7F2E24 #AF3F31 #CE5D4F #DB897F

Accessibility & contrast

On white

5.87
#AF3F31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#AF3F31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3F31
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3F31#FFFFFF#000000##FFFFFF
##AF3F311.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E552F
Deuteranopia (green-blind)
#7A6E2E
Tritanopia (blue-blind)
#C0233C
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3f31;
/* rgb */ color: rgb(175, 63, 49);
/* oklch */ color: oklch(52.2% 0.149 30.0);
Tailwind
colors: {
  custom: {
    50: '#ce796a',
    500: '#af3f31',
    950: '#000000',
  },
}
SCSS
$custom: #af3f31;
$custom-light: #ce796a;
$custom-dark: #000000;
JSON
{
  "hex": "#af3f31",
  "rgb": {
    "r": 175,
    "g": 63,
    "b": 49
  },
  "hsl": {
    "h": 6.667,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52233,
    "c": 0.1491,
    "h": 30
  },
  "luminance": 0.12891
}

Semantic roles & 50–950 ramp

primary
#AF3F31
secondary
#78BCC4
accent
#CFE048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3F31

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

Preview Lab → · Contrast checker → · Palette generator →

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