#AF5731#AF5731

#AF5731 is a mid, vivid orange. Relative luminance 0.162; OKLCH L 55.7% C 0.126 H 42.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF5731
RGBrgb(175, 87, 49)
HSLhsl(18, 56%, 44%)
HSVhsv(18, 72%, 69%)
CMYKcmyk(0%, 50.3%, 72%, 31.4%)
CIE-LABlab(47.18, 33.02, 37.87)
CIE-LCHlch(47.18, 50.24, 48.91°)
OKLaboklab(55.7% 0.0925 0.0857)
OKLCHoklch(55.7% 0.126 42.8)
XYZxyz(21.6438, 16.1547, 4.8835)
Luminance0.1615 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5731 #3189AF
analogous
#AF314A #AF5731 #AF9631
triadic
#AF5731 #31AF57 #5731AF
tetradic
#AF5731 #4AAF31 #3189AF #9631AF
square
#AF5731 #4AAF31 #3189AF #9631AF
split-complementary
#AF5731 #31AF96 #314AAF
monochromatic
#4F2716 #7F3F24 #AF5731 #CE764F #DB9B7F

Accessibility & contrast

On white

4.96
#AF5731 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#AF5731 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5731
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5731#FFFFFF#000000##FFFFFF
##AF57311.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F642D
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#C0454F
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5731;
/* rgb */ color: rgb(175, 87, 49);
/* oklch */ color: oklch(55.7% 0.126 42.8);
Tailwind
colors: {
  custom: {
    50: '#cd886b',
    500: '#af5731',
    950: '#000000',
  },
}
SCSS
$custom: #af5731;
$custom-light: #cd886b;
$custom-dark: #000000;
JSON
{
  "hex": "#af5731",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 49
  },
  "hsl": {
    "h": 18.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.55701,
    "c": 0.12611,
    "h": 42.8
  },
  "luminance": 0.16152
}

Semantic roles & 50–950 ramp

primary
#AF5731
secondary
#78ADC4
accent
#B2E048
background
#FDF8F6
surface
#FAF0EB
border
#D3CBC6
text
#150B07
muted
#837C7A

Preview Lab

Preview with #AF5731

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

Preview Lab → · Contrast checker → · Palette generator →

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