#AF4540#AF4540

#AF4540 is a mid, vivid red. Relative luminance 0.137; OKLCH L 53.3% C 0.140 H 25.7°. Best body text is #FFFFFF at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#AF4540
RGBrgb(175, 69, 64)
HSLhsl(3, 46%, 47%)
HSVhsv(3, 63%, 69%)
CMYKcmyk(0%, 60.6%, 63.4%, 31.4%)
CIE-LABlab(43.86, 42.97, 25.41)
CIE-LCHlch(43.86, 49.92, 30.60°)
OKLaboklab(53.25% 0.1261 0.0606)
OKLCHoklch(53.25% 0.14 25.7)
XYZxyz(20.7347, 13.7431, 6.4103)
Luminance0.1374 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4540 #40AAAF
analogous
#AF4073 #AF4540 #AF7D40
triadic
#AF4540 #40AF45 #4540AF
tetradic
#AF4540 #73AF40 #40AAAF #7D40AF
square
#AF4540 #73AF40 #40AAAF #7D40AF
split-complementary
#AF4540 #40AF7D #4073AF
monochromatic
#55221F #823330 #AF4540 #C76A65 #D79592

Accessibility & contrast

On white

5.60
#AF4540 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.75
#AF4540 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4540
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4540#FFFFFF#000000##FFFFFF
##AF45401.005.603.755.60
#FFFFFF5.601.0021.001.00
#0000003.7521.001.0021.00
##FFFFFF5.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60593F
Deuteranopia (green-blind)
#7B703D
Tritanopia (blue-blind)
#C03045
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af4540;
/* rgb */ color: rgb(175, 69, 64);
/* oklch */ color: oklch(53.3% 0.140 25.7);
Tailwind
colors: {
  custom: {
    50: '#cd7d75',
    500: '#af4540',
    950: '#000000',
  },
}
SCSS
$custom: #af4540;
$custom-light: #cd7d75;
$custom-dark: #000000;
JSON
{
  "hex": "#af4540",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 64
  },
  "hsl": {
    "h": 2.703,
    "s": 46.444,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53252,
    "c": 0.13994,
    "h": 25.7
  },
  "luminance": 0.1374
}

Semantic roles & 50–950 ramp

primary
#AF4540
secondary
#88C0C3
accent
#D0D652
background
#FDF7F7
surface
#FAEEED
border
#D3C9C8
text
#150A08
muted
#837C7B

Preview Lab

Preview with #AF4540

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

Preview Lab → · Contrast checker → · Palette generator →

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