#AF4131#AF4131

#AF4131 is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.5% C 0.147 H 30.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF4131
RGBrgb(175, 65, 49)
HSLhsl(8, 56%, 44%)
HSVhsv(8, 72%, 69%)
CMYKcmyk(0%, 62.9%, 72%, 31.4%)
CIE-LABlab(42.94, 43.96, 33.11)
CIE-LCHlch(42.94, 55.03, 36.99°)
OKLaboklab(52.49% 0.1263 0.0754)
OKLCHoklch(52.49% 0.147 30.8)
XYZxyz(20.1260, 13.1191, 4.3776)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4131 #319FAF
analogous
#AF3160 #AF4131 #AF8031
triadic
#AF4131 #31AF41 #4131AF
tetradic
#AF4131 #60AF31 #319FAF #8031AF
square
#AF4131 #60AF31 #319FAF #8031AF
split-complementary
#AF4131 #31AF80 #3160AF
monochromatic
#4F1D16 #7F2F24 #AF4131 #CE5F4F #DB8B7F

Accessibility & contrast

On white

5.80
#AF4131 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF4131 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4131
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4131#FFFFFF#000000##FFFFFF
##AF41311.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af4131;
/* rgb */ color: rgb(175, 65, 49);
/* oklch */ color: oklch(52.5% 0.147 30.8);
Tailwind
colors: {
  custom: {
    50: '#ce7a6a',
    500: '#af4131',
    950: '#000000',
  },
}
SCSS
$custom: #af4131;
$custom-light: #ce7a6a;
$custom-dark: #000000;
JSON
{
  "hex": "#af4131",
  "rgb": {
    "r": 175,
    "g": 65,
    "b": 49
  },
  "hsl": {
    "h": 7.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52488,
    "c": 0.14709,
    "h": 30.8
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#AF4131
secondary
#78BAC4
accent
#CCE048
background
#FDF7F6
surface
#FBEEEB
border
#D4C9C6
text
#150A06
muted
#837C7A

Preview Lab

Preview with #AF4131

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

Preview Lab → · Contrast checker → · Palette generator →

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