#AF5540#AF5540

#AF5540 is a mid, vivid red. Relative luminance 0.160; OKLCH L 55.6% C 0.123 H 34.4°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#AF5540
RGBrgb(175, 85, 64)
HSLhsl(11, 46%, 47%)
HSVhsv(11, 63%, 69%)
CMYKcmyk(0%, 51.4%, 63.4%, 31.4%)
CIE-LABlab(46.95, 34.97, 29.25)
CIE-LCHlch(46.95, 45.59, 39.91°)
OKLaboklab(55.59% 0.1012 0.0692)
OKLCHoklch(55.59% 0.123 34.4)
XYZxyz(21.8550, 15.9837, 6.7837)
Luminance0.1598 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5540 #409AAF
analogous
#AF4063 #AF5540 #AF8D40
triadic
#AF5540 #40AF55 #5540AF
tetradic
#AF5540 #63AF40 #409AAF #8D40AF
square
#AF5540 #63AF40 #409AAF #8D40AF
split-complementary
#AF5540 #40AF8D #4063AF
monochromatic
#55291F #823F30 #AF5540 #C77865 #D79F92

Accessibility & contrast

On white

5.00
#AF5540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#AF5540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5540
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5540#FFFFFF#000000##FFFFFF
##AF55401.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633E
Deuteranopia (green-blind)
#82773E
Tritanopia (blue-blind)
#BF4450
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #af5540;
/* rgb */ color: rgb(175, 85, 64);
/* oklch */ color: oklch(55.6% 0.123 34.4);
Tailwind
colors: {
  custom: {
    50: '#cc8775',
    500: '#af5540',
    950: '#000000',
  },
}
SCSS
$custom: #af5540;
$custom-light: #cc8775;
$custom-dark: #000000;
JSON
{
  "hex": "#af5540",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 64
  },
  "hsl": {
    "h": 11.351,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55593,
    "c": 0.12262,
    "h": 34.4
  },
  "luminance": 0.15981
}

Semantic roles & 50–950 ramp

primary
#AF5540
secondary
#88B8C3
accent
#BDD652
background
#FDF8F7
surface
#FAF0ED
border
#D3CBC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AF5540

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

Preview Lab → · Contrast checker → · Palette generator →

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