#AF3531#AF3531

#AF3531 is a mid, vivid red. Relative luminance 0.119; OKLCH L 51.1% C 0.159 H 26.4°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#AF3531
RGBrgb(175, 53, 49)
HSLhsl(2, 56%, 44%)
HSVhsv(2, 72%, 69%)
CMYKcmyk(0%, 69.7%, 72%, 31.4%)
CIE-LABlab(41.03, 49.11, 30.91)
CIE-LCHlch(41.03, 58.03, 32.18°)
OKLaboklab(51.05% 0.1425 0.0706)
OKLCHoklch(51.05% 0.159 26.4)
XYZxyz(19.5088, 11.8848, 4.1719)
Luminance0.1188 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3531 #31ABAF
analogous
#AF316C #AF3531 #AF7431
triadic
#AF3531 #31AF35 #3531AF
tetradic
#AF3531 #6CAF31 #31ABAF #7431AF
square
#AF3531 #6CAF31 #31ABAF #7431AF
split-complementary
#AF3531 #31AF74 #316CAF
monochromatic
#4F1816 #7F2724 #AF3531 #CE534F #DB827F

Accessibility & contrast

On white

6.22
#AF3531 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AF3531 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3531
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3531#FFFFFF#000000##FFFFFF
##AF35311.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502F
Deuteranopia (green-blind)
#766A2D
Tritanopia (blue-blind)
#C00D35
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #af3531;
/* rgb */ color: rgb(175, 53, 49);
/* oklch */ color: oklch(51.1% 0.159 26.4);
Tailwind
colors: {
  custom: {
    50: '#cf7469',
    500: '#af3531',
    950: '#000000',
  },
}
SCSS
$custom: #af3531;
$custom-light: #cf7469;
$custom-dark: #000000;
JSON
{
  "hex": "#af3531",
  "rgb": {
    "r": 175,
    "g": 53,
    "b": 49
  },
  "hsl": {
    "h": 1.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51055,
    "c": 0.15899,
    "h": 26.4
  },
  "luminance": 0.11882
}

Semantic roles & 50–950 ramp

primary
#AF3531
secondary
#78C2C4
accent
#DBE048
background
#FDF7F6
surface
#FBEDEB
border
#D4C8C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3531

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

Preview Lab → · Contrast checker → · Palette generator →

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