#AF502D#AF502D

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

Color values

HEX#AF502D
RGBrgb(175, 80, 45)
HSLhsl(16, 59%, 43%)
HSVhsv(16, 74%, 69%)
CMYKcmyk(0%, 54.3%, 74.3%, 31.4%)
CIE-LABlab(45.69, 36.46, 38.37)
CIE-LCHlch(45.69, 52.93, 46.46°)
OKLaboklab(54.56% 0.1024 0.086)
OKLCHoklch(54.56% 0.134 40)
XYZxyz(21.0236, 15.0434, 4.2787)
Luminance0.1504 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF502D #2D8CAF
analogous
#AF2D4B #AF502D #AF912D
triadic
#AF502D #2DAF50 #502DAF
tetradic
#AF502D #4BAF2D #2D8CAF #912DAF
square
#AF502D #4BAF2D #2D8CAF #912DAF
split-complementary
#AF502D #2DAF91 #2D4BAF
monochromatic
#4E2314 #7E3A20 #AF502D #D06D49 #DD947A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF502D#FFFFFF#000000##FFFFFF
##AF502D1.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)
#6A5F29
Deuteranopia (green-blind)
#81742B
Tritanopia (blue-blind)
#C03C48
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af502d;
/* rgb */ color: rgb(175, 80, 45);
/* oklch */ color: oklch(54.6% 0.134 40.0);
Tailwind
colors: {
  custom: {
    50: '#ce8368',
    500: '#af502d',
    950: '#000000',
  },
}
SCSS
$custom: #af502d;
$custom-light: #ce8368;
$custom-dark: #000000;
JSON
{
  "hex": "#af502d",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 45
  },
  "hsl": {
    "h": 16.154,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.54556,
    "c": 0.13365,
    "h": 40
  },
  "luminance": 0.15041
}

Semantic roles & 50–950 ramp

primary
#AF502D
secondary
#73AFC5
accent
#B8E246
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF502D

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

Preview Lab → · Contrast checker → · Palette generator →

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