#AF5223#AF5223

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

Color values

HEX#AF5223
RGBrgb(175, 82, 35)
HSLhsl(20, 67%, 41%)
HSVhsv(20, 80%, 69%)
CMYKcmyk(0%, 53.1%, 80%, 31.4%)
CIE-LABlab(46.01, 35.02, 43.73)
CIE-LCHlch(46.01, 56.02, 51.31°)
OKLaboklab(54.76% 0.0962 0.0949)
OKLCHoklch(54.76% 0.135 44.6)
XYZxyz(21.0020, 15.2726, 3.4317)
Luminance0.1527 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5223 #2380AF
analogous
#AF233A #AF5223 #AF9823
triadic
#AF5223 #23AF52 #5223AF
tetradic
#AF5223 #3AAF23 #2380AF #9823AF
square
#AF5223 #3AAF23 #2380AF #9823AF
split-complementary
#AF5223 #23AF98 #233AAF
monochromatic
#49220F #7C3A19 #AF5223 #D76D38 #E1936B

Accessibility & contrast

On white

5.18
#AF5223 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.05
#AF5223 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5223
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5223#FFFFFF#000000##FFFFFF
##AF52231.005.184.055.18
#FFFFFF5.181.0021.001.00
#0000004.0521.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C601D
Deuteranopia (green-blind)
#837521
Tritanopia (blue-blind)
#C03D48
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af5223;
/* rgb */ color: rgb(175, 82, 35);
/* oklch */ color: oklch(54.8% 0.135 44.6);
Tailwind
colors: {
  custom: {
    50: '#ce8561',
    500: '#af5223',
    950: '#000000',
  },
}
SCSS
$custom: #af5223;
$custom-light: #ce8561;
$custom-dark: #000000;
JSON
{
  "hex": "#af5223",
  "rgb": {
    "r": 175,
    "g": 82,
    "b": 35
  },
  "hsl": {
    "h": 20.143,
    "s": 66.667,
    "l": 41.176
  },
  "oklch": {
    "l": 0.54764,
    "c": 0.13516,
    "h": 44.6
  },
  "luminance": 0.1527
}

Semantic roles & 50–950 ramp

primary
#AF5223
secondary
#66A7C7
accent
#B0EA3E
background
#FDF8F5
surface
#FBEFEA
border
#D4CAC6
text
#150B05
muted
#837C79

Preview Lab

Preview with #AF5223

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

Preview Lab → · Contrast checker → · Palette generator →

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