#AF502B#AF502B

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

Color values

HEX#AF502B
RGBrgb(175, 80, 43)
HSLhsl(17, 61%, 43%)
HSVhsv(17, 75%, 69%)
CMYKcmyk(0%, 54.3%, 75.4%, 31.4%)
CIE-LABlab(45.67, 36.37, 39.40)
CIE-LCHlch(45.67, 53.62, 47.29°)
OKLaboklab(54.53% 0.1017 0.0877)
OKLCHoklch(54.53% 0.134 40.8)
XYZxyz(20.9860, 15.0284, 4.0807)
Luminance0.1503 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF502B #2B8AAF
analogous
#AF2B48 #AF502B #AF922B
triadic
#AF502B #2BAF50 #502BAF
tetradic
#AF502B #48AF2B #2B8AAF #922BAF
square
#AF502B #48AF2B #2B8AAF #922BAF
split-complementary
#AF502B #2BAF92 #2B48AF
monochromatic
#4D2313 #7E3A1F #AF502B #D16D46 #DE9477

Accessibility & contrast

On white

5.24
#AF502B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#AF502B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF502B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF502B#FFFFFF#000000##FFFFFF
##AF502B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af502b;
/* rgb */ color: rgb(175, 80, 43);
/* oklch */ color: oklch(54.5% 0.134 40.8);
Tailwind
colors: {
  custom: {
    50: '#ce8366',
    500: '#af502b',
    950: '#000000',
  },
}
SCSS
$custom: #af502b;
$custom-light: #ce8366;
$custom-dark: #000000;
JSON
{
  "hex": "#af502b",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 43
  },
  "hsl": {
    "h": 16.818,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.54534,
    "c": 0.13429,
    "h": 40.8
  },
  "luminance": 0.15026
}

Semantic roles & 50–950 ramp

primary
#AF502B
secondary
#70AEC5
accent
#B7E444
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF502B

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

Preview Lab → · Contrast checker → · Palette generator →

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