#AF5740#AF5740

#AF5740 is a mid, vivid red. Relative luminance 0.163; OKLCH L 55.9% C 0.121 H 35.7°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#AF5740
RGBrgb(175, 87, 64)
HSLhsl(12, 46%, 47%)
HSVhsv(12, 63%, 69%)
CMYKcmyk(0%, 50.3%, 63.4%, 31.4%)
CIE-LABlab(47.37, 33.92, 29.76)
CIE-LCHlch(47.37, 45.13, 41.27°)
OKLaboklab(55.91% 0.098 0.0704)
OKLCHoklch(55.91% 0.121 35.7)
XYZxyz(22.0147, 16.3031, 6.8370)
Luminance0.1630 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF5740 #4098AF
analogous
#AF4061 #AF5740 #AF8F40
triadic
#AF5740 #40AF57 #5740AF
tetradic
#AF5740 #61AF40 #4098AF #8F40AF
square
#AF5740 #61AF40 #4098AF #8F40AF
split-complementary
#AF5740 #40AF8F #4061AF
monochromatic
#552A1F #824130 #AF5740 #C77A65 #D7A092

Accessibility & contrast

On white

4.93
#AF5740 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#AF5740 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF5740
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF5740#FFFFFF#000000##FFFFFF
##AF57401.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E653E
Deuteranopia (green-blind)
#83783E
Tritanopia (blue-blind)
#BF4752
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af5740;
/* rgb */ color: rgb(175, 87, 64);
/* oklch */ color: oklch(55.9% 0.121 35.7);
Tailwind
colors: {
  custom: {
    50: '#cc8875',
    500: '#af5740',
    950: '#000000',
  },
}
SCSS
$custom: #af5740;
$custom-light: #cc8875;
$custom-dark: #000000;
JSON
{
  "hex": "#af5740",
  "rgb": {
    "r": 175,
    "g": 87,
    "b": 64
  },
  "hsl": {
    "h": 12.432,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5591,
    "c": 0.12061,
    "h": 35.7
  },
  "luminance": 0.16301
}

Semantic roles & 50–950 ramp

primary
#AF5740
secondary
#88B6C3
accent
#BBD652
background
#FDF8F7
surface
#FAF0ED
border
#D3CBC8
text
#140B08
muted
#837C7B

Preview Lab

Preview with #AF5740

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

Preview Lab → · Contrast checker → · Palette generator →

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