#AF523A#AF523A

#AF523A is a mid, vivid red. Relative luminance 0.155; OKLCH L 55.0% C 0.128 H 35.6°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#AF523A
RGBrgb(175, 82, 58)
HSLhsl(12, 50%, 46%)
HSVhsv(12, 67%, 69%)
CMYKcmyk(0%, 53.1%, 66.9%, 31.4%)
CIE-LABlab(46.25, 36.14, 31.84)
CIE-LCHlch(46.25, 48.17, 41.38°)
OKLaboklab(55.03% 0.1038 0.0742)
OKLCHoklch(55.03% 0.128 35.6)
XYZxyz(21.4622, 15.4567, 5.8554)
Luminance0.1545 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF523A #3A97AF
analogous
#AF3A5C #AF523A #AF8C3A
triadic
#AF523A #3AAF52 #523AAF
tetradic
#AF523A #5CAF3A #3A97AF #8C3AAF
square
#AF523A #5CAF3A #3A97AF #8C3AAF
split-complementary
#AF523A #3AAF8C #3A5CAF
monochromatic
#53271C #813C2B #AF523A #C9735D #D99B8B

Accessibility & contrast

On white

5.13
#AF523A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#AF523A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF523A
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF523A#FFFFFF#000000##FFFFFF
##AF523A1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6137
Deuteranopia (green-blind)
#817538
Tritanopia (blue-blind)
#C0404C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af523a;
/* rgb */ color: rgb(175, 82, 58);
/* oklch */ color: oklch(55.0% 0.128 35.6);
Tailwind
colors: {
  custom: {
    50: '#cd8571',
    500: '#af523a',
    950: '#000000',
  },
}
SCSS
$custom: #af523a;
$custom-light: #cd8571;
$custom-dark: #000000;
JSON
{
  "hex": "#af523a",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 58
  },
  "hsl": {
    "h": 12.308,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.55033,
    "c": 0.12753,
    "h": 35.6
  },
  "luminance": 0.15454
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF523A

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

Preview Lab → · Contrast checker → · Palette generator →

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