#AF542B#AF542B

#AF542B is a mid, vivid orange. Relative luminance 0.156; OKLCH L 55.2% C 0.131 H 43.2°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF542B
RGBrgb(175, 84, 43)
HSLhsl(19, 61%, 43%)
HSVhsv(19, 75%, 69%)
CMYKcmyk(0%, 52%, 75.4%, 31.4%)
CIE-LABlab(46.49, 34.30, 40.26)
CIE-LCHlch(46.49, 52.89, 49.57°)
OKLaboklab(55.16% 0.0954 0.0896)
OKLCHoklch(55.16% 0.131 43.2)
XYZxyz(21.2876, 15.6317, 4.1812)
Luminance0.1563 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF542B #2B86AF
analogous
#AF2B44 #AF542B #AF962B
triadic
#AF542B #2BAF54 #542BAF
tetradic
#AF542B #44AF2B #2B86AF #962BAF
square
#AF542B #44AF2B #2B86AF #962BAF
split-complementary
#AF542B #2BAF96 #2B44AF
monochromatic
#4D2513 #7E3C1F #AF542B #D17146 #DE9777

Accessibility & contrast

On white

5.09
#AF542B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF542B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF542B
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF542B#FFFFFF#000000##FFFFFF
##AF542B1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6226
Deuteranopia (green-blind)
#837629
Tritanopia (blue-blind)
#C0414B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af542b;
/* rgb */ color: rgb(175, 84, 43);
/* oklch */ color: oklch(55.2% 0.131 43.2);
Tailwind
colors: {
  custom: {
    50: '#cd8667',
    500: '#af542b',
    950: '#000000',
  },
}
SCSS
$custom: #af542b;
$custom-light: #cd8667;
$custom-dark: #000000;
JSON
{
  "hex": "#af542b",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 43
  },
  "hsl": {
    "h": 18.636,
    "s": 60.55,
    "l": 42.745
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.13083,
    "h": 43.2
  },
  "luminance": 0.15629
}

Semantic roles & 50–950 ramp

primary
#AF542B
secondary
#70ABC5
accent
#B2E444
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF542B

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

Preview Lab → · Contrast checker → · Palette generator →

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