#AF504D#AF504D

#AF504D is a mid, vivid red. Relative luminance 0.154; OKLCH L 55.1% C 0.125 H 23.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#AF504D
RGBrgb(175, 80, 77)
HSLhsl(2, 39%, 49%)
HSVhsv(2, 56%, 69%)
CMYKcmyk(0%, 54.3%, 56%, 31.4%)
CIE-LABlab(46.16, 38.53, 20.58)
CIE-LCHlch(46.16, 43.69, 28.11°)
OKLaboklab(55.06% 0.1144 0.0506)
OKLCHoklch(55.06% 0.125 23.9)
XYZxyz(21.8892, 15.3897, 8.8375)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF504D #4DACAF
analogous
#AF4D7B #AF504D #AF814D
triadic
#AF504D #4DAF50 #504DAF
tetradic
#AF504D #7BAF4D #4DACAF #814DAF
square
#AF504D #7BAF4D #4DACAF #814DAF
split-complementary
#AF504D #4DAF81 #4D7BAF
monochromatic
#5A2928 #853D3A #AF504D #C37976 #D6A2A1

Accessibility & contrast

On white

5.15
#AF504D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF504D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF504D
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF504D#FFFFFF#000000##FFFFFF
##AF504D1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#67614C
Deuteranopia (green-blind)
#7E754B
Tritanopia (blue-blind)
#BF4050
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af504d;
/* rgb */ color: rgb(175, 80, 77);
/* oklch */ color: oklch(55.1% 0.125 23.9);
Tailwind
colors: {
  custom: {
    50: '#cc847e',
    500: '#af504d',
    950: '#000000',
  },
}
SCSS
$custom: #af504d;
$custom-light: #cc847e;
$custom-dark: #000000;
JSON
{
  "hex": "#af504d",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 77
  },
  "hsl": {
    "h": 1.837,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55064,
    "c": 0.12512,
    "h": 23.9
  },
  "luminance": 0.15387
}

Semantic roles & 50–950 ramp

primary
#AF504D
secondary
#95C1C3
accent
#CBCF59
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B0A
muted
#837C7C

Preview Lab

Preview with #AF504D

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

Preview Lab → · Contrast checker → · Palette generator →

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