#AF522A#AF522A

#AF522A is a mid, vivid orange. Relative luminance 0.153; OKLCH L 54.8% C 0.133 H 42.3°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#AF522A
RGBrgb(175, 82, 42)
HSLhsl(18, 61%, 43%)
HSVhsv(18, 76%, 69%)
CMYKcmyk(0%, 53.1%, 76%, 31.4%)
CIE-LABlab(46.07, 35.30, 40.33)
CIE-LCHlch(46.07, 53.60, 48.81°)
OKLaboklab(54.83% 0.0983 0.0895)
OKLCHoklch(54.83% 0.133 42.3)
XYZxyz(21.1165, 15.3184, 4.0348)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF522A #2A87AF
analogous
#AF2A45 #AF522A #AF942A
triadic
#AF522A #2AAF52 #522AAF
tetradic
#AF522A #45AF2A #2A87AF #942AAF
square
#AF522A #45AF2A #2A87AF #942AAF
split-complementary
#AF522A #2AAF94 #2A45AF
monochromatic
#4C2412 #7E3B1E #AF522A #D26F44 #DE9575

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF522A#FFFFFF#000000##FFFFFF
##AF522A1.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)
#6C6025
Deuteranopia (green-blind)
#827528
Tritanopia (blue-blind)
#C03E49
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af522a;
/* rgb */ color: rgb(175, 82, 42);
/* oklch */ color: oklch(54.8% 0.133 42.3);
Tailwind
colors: {
  custom: {
    50: '#ce8566',
    500: '#af522a',
    950: '#000000',
  },
}
SCSS
$custom: #af522a;
$custom-light: #ce8566;
$custom-dark: #000000;
JSON
{
  "hex": "#af522a",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 42
  },
  "hsl": {
    "h": 18.045,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54831,
    "c": 0.13288,
    "h": 42.3
  },
  "luminance": 0.15316
}

Semantic roles & 50–950 ramp

primary
#AF522A
secondary
#6FACC6
accent
#B4E443
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF522A

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

Preview Lab → · Contrast checker → · Palette generator →

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