#AF5342#AF5342

#AF5342 is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.3% C 0.124 H 32.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#AF5342
RGBrgb(175, 83, 66)
HSLhsl(9, 45%, 47%)
HSVhsv(9, 62%, 69%)
CMYKcmyk(0%, 52.6%, 62.3%, 31.4%)
CIE-LABlab(46.57, 36.15, 27.62)
CIE-LCHlch(46.57, 45.50, 37.39°)
OKLaboklab(55.31% 0.1052 0.0658)
OKLCHoklch(55.31% 0.124 32)
XYZxyz(21.7577, 15.6964, 7.0371)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5342 #429EAF
analogous
#AF4267 #AF5342 #AF8A42
triadic
#AF5342 #42AF53 #5342AF
tetradic
#AF5342 #67AF42 #429EAF #8A42AF
square
#AF5342 #67AF42 #429EAF #8A42AF
split-complementary
#AF5342 #42AF8A #4267AF
monochromatic
#562920 #833E31 #AF5342 #C67768 #D79F95

Accessibility & contrast

On white

5.07
#AF5342 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#AF5342 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5342
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5342#FFFFFF#000000##FFFFFF
##AF53421.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6240
Deuteranopia (green-blind)
#817640
Tritanopia (blue-blind)
#BF424F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af5342;
/* rgb */ color: rgb(175, 83, 66);
/* oklch */ color: oklch(55.3% 0.124 32.0);
Tailwind
colors: {
  custom: {
    50: '#cc8676',
    500: '#af5342',
    950: '#000000',
  },
}
SCSS
$custom: #af5342;
$custom-light: #cc8676;
$custom-dark: #000000;
JSON
{
  "hex": "#af5342",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 66
  },
  "hsl": {
    "h": 9.358,
    "s": 45.228,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55314,
    "c": 0.1241,
    "h": 32
  },
  "luminance": 0.15694
}

Semantic roles & 50–950 ramp

primary
#AF5342
secondary
#8ABAC2
accent
#C1D553
background
#FDF8F7
surface
#FAEFED
border
#D3CAC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AF5342

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

Preview Lab → · Contrast checker → · Palette generator →

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