#AF3831#AF3831

#AF3831 is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.4% C 0.156 H 27.4°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#AF3831
RGBrgb(175, 56, 49)
HSLhsl(3, 56%, 44%)
HSVhsv(3, 72%, 69%)
CMYKcmyk(0%, 68%, 72%, 31.4%)
CIE-LABlab(41.48, 47.89, 31.43)
CIE-LCHlch(41.48, 57.28, 33.27°)
OKLaboklab(51.39% 0.1386 0.0717)
OKLCHoklch(51.39% 0.156 27.4)
XYZxyz(19.6499, 12.1669, 4.2189)
Luminance0.1216 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3831 #31A8AF
analogous
#AF3169 #AF3831 #AF7731
triadic
#AF3831 #31AF38 #3831AF
tetradic
#AF3831 #69AF31 #31A8AF #7731AF
square
#AF3831 #69AF31 #31A8AF #7731AF
split-complementary
#AF3831 #31AF77 #3169AF
monochromatic
#4F1916 #7F2924 #AF3831 #CE564F #DB847F

Accessibility & contrast

On white

6.12
#AF3831 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#AF3831 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3831
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3831#FFFFFF#000000##FFFFFF
##AF38311.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af3831;
/* rgb */ color: rgb(175, 56, 49);
/* oklch */ color: oklch(51.4% 0.156 27.4);
Tailwind
colors: {
  custom: {
    50: '#cf7669',
    500: '#af3831',
    950: '#000000',
  },
}
SCSS
$custom: #af3831;
$custom-light: #cf7669;
$custom-dark: #000000;
JSON
{
  "hex": "#af3831",
  "rgb": {
    "r": 175,
    "g": 56,
    "b": 49
  },
  "hsl": {
    "h": 3.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5139,
    "c": 0.15608,
    "h": 27.4
  },
  "luminance": 0.12164
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF3831

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

Preview Lab → · Contrast checker → · Palette generator →

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