#AF5728#AF5728

#AF5728 is a mid, vivid orange. Relative luminance 0.161; OKLCH L 55.6% C 0.129 H 46.2°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#AF5728
RGBrgb(175, 87, 40)
HSLhsl(21, 63%, 42%)
HSVhsv(21, 77%, 69%)
CMYKcmyk(0%, 50.3%, 77.1%, 31.4%)
CIE-LABlab(47.09, 32.59, 42.39)
CIE-LCHlch(47.09, 53.47, 52.44°)
OKLaboklab(55.6% 0.0897 0.0934)
OKLCHoklch(55.6% 0.129 46.2)
XYZxyz(21.4725, 16.0862, 3.9813)
Luminance0.1608 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5728 #2880AF
analogous
#AF283C #AF5728 #AF9B28
triadic
#AF5728 #28AF57 #5728AF
tetradic
#AF5728 #3CAF28 #2880AF #9B28AF
square
#AF5728 #3CAF28 #2880AF #9B28AF
split-complementary
#AF5728 #28AF9B #283CAF
monochromatic
#4B2511 #7D3E1D #AF5728 #D47441 #DF9873

Accessibility & contrast

On white

4.98
#AF5728 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#AF5728 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5728
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5728#FFFFFF#000000##FFFFFF
##AF57281.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706422
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#C0444D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5728;
/* rgb */ color: rgb(175, 87, 40);
/* oklch */ color: oklch(55.6% 0.129 46.2);
Tailwind
colors: {
  custom: {
    50: '#cd8865',
    500: '#af5728',
    950: '#000000',
  },
}
SCSS
$custom: #af5728;
$custom-light: #cd8865;
$custom-dark: #000000;
JSON
{
  "hex": "#af5728",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 40
  },
  "hsl": {
    "h": 20.889,
    "s": 62.791,
    "l": 42.157
  },
  "oklch": {
    "l": 0.55604,
    "c": 0.12948,
    "h": 46.2
  },
  "luminance": 0.16084
}

Semantic roles & 50–950 ramp

primary
#AF5728
secondary
#6DA7C6
accent
#ADE642
background
#FDF8F6
surface
#FBF0EB
border
#D4CBC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF5728

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

Preview Lab → · Contrast checker → · Palette generator →

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