#AF502A#AF502A

#AF502A is a mid, vivid orange. Relative luminance 0.150; OKLCH L 54.5% C 0.135 H 41.1°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#AF502A
RGBrgb(175, 80, 42)
HSLhsl(17, 61%, 43%)
HSVhsv(17, 76%, 69%)
CMYKcmyk(0%, 54.3%, 76%, 31.4%)
CIE-LABlab(45.66, 36.33, 39.91)
CIE-LCHlch(45.66, 53.97, 47.69°)
OKLaboklab(54.52% 0.1014 0.0886)
OKLCHoklch(54.52% 0.135 41.1)
XYZxyz(20.9679, 15.0211, 3.9853)
Luminance0.1502 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF502A #2A89AF
analogous
#AF2A46 #AF502A #AF932A
triadic
#AF502A #2AAF50 #502AAF
tetradic
#AF502A #46AF2A #2A89AF #932AAF
square
#AF502A #46AF2A #2A89AF #932AAF
split-complementary
#AF502A #2AAF93 #2A46AF
monochromatic
#4C2312 #7E391E #AF502A #D26D44 #DE9375

Accessibility & contrast

On white

5.25
#AF502A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#AF502A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF502A
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF502A#FFFFFF#000000##FFFFFF
##AF502A1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5F25
Deuteranopia (green-blind)
#817428
Tritanopia (blue-blind)
#C03C48
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af502a;
/* rgb */ color: rgb(175, 80, 42);
/* oklch */ color: oklch(54.5% 0.135 41.1);
Tailwind
colors: {
  custom: {
    50: '#ce8366',
    500: '#af502a',
    950: '#000000',
  },
}
SCSS
$custom: #af502a;
$custom-light: #ce8366;
$custom-dark: #000000;
JSON
{
  "hex": "#af502a",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 42
  },
  "hsl": {
    "h": 17.143,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.54524,
    "c": 0.13462,
    "h": 41.1
  },
  "luminance": 0.15018
}

Semantic roles & 50–950 ramp

primary
#AF502A
secondary
#6FADC6
accent
#B6E443
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF502A

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

Preview Lab → · Contrast checker → · Palette generator →

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