#AF542D#AF542D

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

Color values

HEX#AF542D
RGBrgb(175, 84, 45)
HSLhsl(18, 59%, 43%)
HSVhsv(18, 74%, 69%)
CMYKcmyk(0%, 52%, 74.3%, 31.4%)
CIE-LABlab(46.51, 34.39, 39.25)
CIE-LCHlch(46.51, 52.19, 48.77°)
OKLaboklab(55.18% 0.096 0.0878)
OKLCHoklch(55.18% 0.13 42.4)
XYZxyz(21.3252, 15.6467, 4.3792)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF542D #2D88AF
analogous
#AF2D47 #AF542D #AF952D
triadic
#AF542D #2DAF54 #542DAF
tetradic
#AF542D #47AF2D #2D88AF #952DAF
square
#AF542D #47AF2D #2D88AF #952DAF
split-complementary
#AF542D #2DAF95 #2D47AF
monochromatic
#4E2514 #7E3D20 #AF542D #D07249 #DD977A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF542D#FFFFFF#000000##FFFFFF
##AF542D1.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)
#6D6228
Deuteranopia (green-blind)
#83762B
Tritanopia (blue-blind)
#C0414B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af542d;
/* rgb */ color: rgb(175, 84, 45);
/* oklch */ color: oklch(55.2% 0.130 42.4);
Tailwind
colors: {
  custom: {
    50: '#cd8668',
    500: '#af542d',
    950: '#000000',
  },
}
SCSS
$custom: #af542d;
$custom-light: #cd8668;
$custom-dark: #000000;
JSON
{
  "hex": "#af542d",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 45
  },
  "hsl": {
    "h": 18,
    "s": 59.091,
    "l": 43.137
  },
  "oklch": {
    "l": 0.55176,
    "c": 0.13013,
    "h": 42.4
  },
  "luminance": 0.15644
}

Semantic roles & 50–950 ramp

primary
#AF542D
secondary
#73ACC5
accent
#B3E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF542D

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

Preview Lab → · Contrast checker → · Palette generator →

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