#AF513A#AF513A

#AF513A is a mid, vivid red. Relative luminance 0.153; OKLCH L 54.9% C 0.129 H 35.0°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF513A
RGBrgb(175, 81, 58)
HSLhsl(12, 50%, 46%)
HSVhsv(12, 67%, 69%)
CMYKcmyk(0%, 53.7%, 66.9%, 31.4%)
CIE-LABlab(46.05, 36.65, 31.60)
CIE-LCHlch(46.05, 48.40, 40.77°)
OKLaboklab(54.88% 0.1053 0.0736)
OKLCHoklch(54.88% 0.129 35)
XYZxyz(21.3873, 15.3069, 5.8304)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF513A #3A98AF
analogous
#AF3A5D #AF513A #AF8B3A
triadic
#AF513A #3AAF51 #513AAF
tetradic
#AF513A #5DAF3A #3A98AF #8B3AAF
square
#AF513A #5DAF3A #3A98AF #8B3AAF
split-complementary
#AF513A #3AAF8B #3A5DAF
monochromatic
#53261C #813C2B #AF513A #C9725D #D99A8B

Accessibility & contrast

On white

5.17
#AF513A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#AF513A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF513A
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF513A#FFFFFF#000000##FFFFFF
##AF513A1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6038
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#C03F4C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af513a;
/* rgb */ color: rgb(175, 81, 58);
/* oklch */ color: oklch(54.9% 0.129 35.0);
Tailwind
colors: {
  custom: {
    50: '#cd8471',
    500: '#af513a',
    950: '#000000',
  },
}
SCSS
$custom: #af513a;
$custom-light: #cd8471;
$custom-dark: #000000;
JSON
{
  "hex": "#af513a",
  "rgb": {
    "r": 175,
    "g": 81,
    "b": 58
  },
  "hsl": {
    "h": 11.795,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54879,
    "c": 0.12852,
    "h": 35
  },
  "luminance": 0.15304
}

Semantic roles & 50–950 ramp

primary
#AF513A
secondary
#82B6C3
accent
#BEDA4E
background
#FDF8F6
surface
#FAEFEC
border
#D3CAC7
text
#150B07
muted
#837C7A

Preview Lab

Preview with #AF513A

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

Preview Lab → · Contrast checker → · Palette generator →

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