#AF3D31#AF3D31

#AF3D31 is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.0% C 0.151 H 29.2°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#AF3D31
RGBrgb(175, 61, 49)
HSLhsl(6, 56%, 44%)
HSVhsv(6, 72%, 69%)
CMYKcmyk(0%, 65.1%, 72%, 31.4%)
CIE-LABlab(42.27, 45.75, 32.34)
CIE-LCHlch(42.27, 56.03, 35.25°)
OKLaboklab(51.98% 0.1319 0.0737)
OKLCHoklch(51.98% 0.151 29.2)
XYZxyz(19.9044, 12.6760, 4.3037)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D31 #31A3AF
analogous
#AF3164 #AF3D31 #AF7C31
triadic
#AF3D31 #31AF3D #3D31AF
tetradic
#AF3D31 #64AF31 #31A3AF #7C31AF
square
#AF3D31 #64AF31 #31A3AF #7C31AF
split-complementary
#AF3D31 #31AF7C #3164AF
monochromatic
#4F1C16 #7F2C24 #AF3D31 #CE5B4F #DB887F

Accessibility & contrast

On white

5.94
#AF3D31 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AF3D31 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D31
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D31#FFFFFF#000000##FFFFFF
##AF3D311.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C542F
Deuteranopia (green-blind)
#796D2D
Tritanopia (blue-blind)
#C0203B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #af3d31;
/* rgb */ color: rgb(175, 61, 49);
/* oklch */ color: oklch(52.0% 0.151 29.2);
Tailwind
colors: {
  custom: {
    50: '#ce7869',
    500: '#af3d31',
    950: '#000000',
  },
}
SCSS
$custom: #af3d31;
$custom-light: #ce7869;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d31",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 49
  },
  "hsl": {
    "h": 5.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.51984,
    "c": 0.15112,
    "h": 29.2
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#AF3D31
secondary
#78BDC4
accent
#D1E048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150906
muted
#837B7A

Preview Lab

Preview with #AF3D31

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

Preview Lab → · Contrast checker → · Palette generator →

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