#AF542E#AF542E

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

Color values

HEX#AF542E
RGBrgb(175, 84, 46)
HSLhsl(18, 58%, 43%)
HSVhsv(18, 74%, 69%)
CMYKcmyk(0%, 52%, 73.7%, 31.4%)
CIE-LABlab(46.52, 34.44, 38.73)
CIE-LCHlch(46.52, 51.83, 48.36°)
OKLaboklab(55.19% 0.0963 0.087)
OKLCHoklch(55.19% 0.13 42.1)
XYZxyz(21.3447, 15.6545, 4.4818)
Luminance0.1565 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF542E #2E89AF
analogous
#AF2E49 #AF542E #AF942E
triadic
#AF542E #2EAF54 #542EAF
tetradic
#AF542E #49AF2E #2E89AF #942EAF
square
#AF542E #49AF2E #2E89AF #942EAF
split-complementary
#AF542E #2EAF94 #2E49AF
monochromatic
#4E2515 #7F3D21 #AF542E #D0724B #DC987B

Accessibility & contrast

On white

5.08
#AF542E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF542E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF542E#FFFFFF#000000##FFFFFF
##AF542E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D622A
Deuteranopia (green-blind)
#83762C
Tritanopia (blue-blind)
#C0414C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af542e;
/* rgb */ color: rgb(175, 84, 46);
/* oklch */ color: oklch(55.2% 0.130 42.1);
Tailwind
colors: {
  custom: {
    50: '#cd8668',
    500: '#af542e',
    950: '#000000',
  },
}
SCSS
$custom: #af542e;
$custom-light: #cd8668;
$custom-dark: #000000;
JSON
{
  "hex": "#af542e",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 46
  },
  "hsl": {
    "h": 17.674,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.12978,
    "h": 42.1
  },
  "luminance": 0.15652
}

Semantic roles & 50–950 ramp

primary
#AF542E
secondary
#74ADC5
accent
#B4E246
background
#FDF8F6
surface
#FAEFEB
border
#D3CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF542E

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

Preview Lab → · Contrast checker → · Palette generator →

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