#AF502E#AF502E

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

Color values

HEX#AF502E
RGBrgb(175, 80, 46)
HSLhsl(16, 58%, 43%)
HSVhsv(16, 74%, 69%)
CMYKcmyk(0%, 54.3%, 73.7%, 31.4%)
CIE-LABlab(45.70, 36.51, 37.85)
CIE-LCHlch(45.70, 52.59, 46.03°)
OKLaboklab(54.57% 0.1027 0.0851)
OKLCHoklch(54.57% 0.133 39.6)
XYZxyz(21.0431, 15.0512, 4.3813)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF502E #2E8DAF
analogous
#AF2E4C #AF502E #AF902E
triadic
#AF502E #2EAF50 #502EAF
tetradic
#AF502E #4CAF2E #2E8DAF #902EAF
square
#AF502E #4CAF2E #2E8DAF #902EAF
split-complementary
#AF502E #2EAF90 #2E4CAF
monochromatic
#4E2415 #7F3A21 #AF502E #D06E4B #DC957B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF502E#FFFFFF#000000##FFFFFF
##AF502E1.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)
#6A5F2A
Deuteranopia (green-blind)
#81742C
Tritanopia (blue-blind)
#C03C49
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af502e;
/* rgb */ color: rgb(175, 80, 46);
/* oklch */ color: oklch(54.6% 0.133 39.6);
Tailwind
colors: {
  custom: {
    50: '#cd8368',
    500: '#af502e',
    950: '#000000',
  },
}
SCSS
$custom: #af502e;
$custom-light: #cd8368;
$custom-dark: #000000;
JSON
{
  "hex": "#af502e",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 46
  },
  "hsl": {
    "h": 15.814,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.54568,
    "c": 0.13332,
    "h": 39.6
  },
  "luminance": 0.15049
}

Semantic roles & 50–950 ramp

primary
#AF502E
secondary
#74AFC5
accent
#B9E246
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF502E

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

Preview Lab → · Contrast checker → · Palette generator →

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