#AF3131#AF3131

#AF3131 is a mid, vivid red. Relative luminance 0.115; OKLCH L 50.6% C 0.163 H 25.1°. Best body text is #FFFFFF at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#AF3131
RGBrgb(175, 49, 49)
HSLhsl(0, 56%, 44%)
HSVhsv(0, 72%, 69%)
CMYKcmyk(0%, 72%, 72%, 31.4%)
CIE-LABlab(40.47, 50.66, 30.25)
CIE-LCHlch(40.47, 59.00, 30.84°)
OKLaboklab(50.63% 0.1474 0.0692)
OKLCHoklch(50.63% 0.163 25.1)
XYZxyz(19.3340, 11.5352, 4.1136)
Luminance0.1153 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3131 #31AFAF
analogous
#AF3170 #AF3131 #AF7031
triadic
#AF3131 #31AF31 #3131AF
tetradic
#AF3131 #70AF31 #31AFAF #7031AF
square
#AF3131 #70AF31 #31AFAF #7031AF
split-complementary
#AF3131 #31AF70 #3170AF
monochromatic
#4F1616 #7F2424 #AF3131 #CE4F4F #DB7F7F

Accessibility & contrast

On white

6.35
#AF3131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#AF3131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3131
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3131#FFFFFF#000000##FFFFFF
##AF31311.006.353.316.35
#FFFFFF6.351.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554E30
Deuteranopia (green-blind)
#75692D
Tritanopia (blue-blind)
#C10033
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #af3131;
/* rgb */ color: rgb(175, 49, 49);
/* oklch */ color: oklch(50.6% 0.163 25.1);
Tailwind
colors: {
  custom: {
    50: '#cf7269',
    500: '#af3131',
    950: '#000000',
  },
}
SCSS
$custom: #af3131;
$custom-light: #cf7269;
$custom-dark: #000000;
JSON
{
  "hex": "#af3131",
  "rgb": {
    "r": 175,
    "g": 49,
    "b": 49
  },
  "hsl": {
    "h": 0,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.50633,
    "c": 0.16278,
    "h": 25.1
  },
  "luminance": 0.11532
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3131

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

Preview Lab → · Contrast checker → · Palette generator →

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