#AF542A#AF542A

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

Color values

HEX#AF542A
RGBrgb(175, 84, 42)
HSLhsl(19, 61%, 43%)
HSVhsv(19, 76%, 69%)
CMYKcmyk(0%, 52%, 76%, 31.4%)
CIE-LABlab(46.48, 34.26, 40.76)
CIE-LCHlch(46.48, 53.25, 49.96°)
OKLaboklab(55.14% 0.0951 0.0904)
OKLCHoklch(55.14% 0.131 43.6)
XYZxyz(21.2695, 15.6244, 4.0858)
Luminance0.1562 (WCAG relative)
Temperaturewarm
Familyorange

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF542A #2A85AF
analogous
#AF2A43 #AF542A #AF962A
triadic
#AF542A #2AAF54 #542AAF
tetradic
#AF542A #43AF2A #2A85AF #962AAF
square
#AF542A #43AF2A #2A85AF #962AAF
split-complementary
#AF542A #2AAF96 #2A43AF
monochromatic
#4C2512 #7E3C1E #AF542A #D27144 #DE9675

Accessibility & contrast

On white

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

On black

4.12
#AF542A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF542A#FFFFFF#000000##FFFFFF
##AF542A1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af542a;
/* rgb */ color: rgb(175, 84, 42);
/* oklch */ color: oklch(55.1% 0.131 43.6);
Tailwind
colors: {
  custom: {
    50: '#cd8666',
    500: '#af542a',
    950: '#000000',
  },
}
SCSS
$custom: #af542a;
$custom-light: #cd8666;
$custom-dark: #000000;
JSON
{
  "hex": "#af542a",
  "rgb": {
    "r": 175,
    "g": 84,
    "b": 42
  },
  "hsl": {
    "h": 18.947,
    "s": 61.29,
    "l": 42.549
  },
  "oklch": {
    "l": 0.55144,
    "c": 0.13119,
    "h": 43.6
  },
  "luminance": 0.15622
}

Semantic roles & 50–950 ramp

primary
#AF542A
secondary
#6FAAC6
accent
#B2E443
background
#FDF8F6
surface
#FBEFEB
border
#D4CAC6
text
#150B06
muted
#837C7A

Preview Lab

Preview with #AF542A

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

Preview Lab → · Contrast checker → · Palette generator →

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