#AF504C#AF504C

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

Color values

HEX#AF504C
RGBrgb(175, 80, 76)
HSLhsl(2, 39%, 49%)
HSVhsv(2, 57%, 69%)
CMYKcmyk(0%, 54.3%, 56.6%, 31.4%)
CIE-LABlab(46.14, 38.45, 21.16)
CIE-LCHlch(46.14, 43.89, 28.82°)
OKLaboklab(55.04% 0.114 0.0519)
OKLCHoklch(55.04% 0.125 24.5)
XYZxyz(21.8541, 15.3756, 8.6530)
Luminance0.1537 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF504C #4CABAF
analogous
#AF4C7A #AF504C #AF824C
triadic
#AF504C #4CAF50 #504CAF
tetradic
#AF504C #7AAF4C #4CABAF #824CAF
square
#AF504C #7AAF4C #4CABAF #824CAF
split-complementary
#AF504C #4CAF82 #4C7AAF
monochromatic
#5A2927 #843C39 #AF504C #C37875 #D6A2A0

Accessibility & contrast

On white

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

On black

4.07
#AF504C on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF504C#FFFFFF#000000##FFFFFF
##AF504C1.005.154.075.15
#FFFFFF5.151.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #af504c;
/* rgb */ color: rgb(175, 80, 76);
/* oklch */ color: oklch(55.0% 0.125 24.5);
Tailwind
colors: {
  custom: {
    50: '#cc847e',
    500: '#af504c',
    950: '#000000',
  },
}
SCSS
$custom: #af504c;
$custom-light: #cc847e;
$custom-dark: #000000;
JSON
{
  "hex": "#af504c",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 76
  },
  "hsl": {
    "h": 2.424,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.55044,
    "c": 0.12527,
    "h": 24.5
  },
  "luminance": 0.15373
}

Semantic roles & 50–950 ramp

primary
#AF504C
secondary
#94C1C2
accent
#CBCF58
background
#FDF8F7
surface
#FAEFEE
border
#D3CAC9
text
#140B09
muted
#837C7B

Preview Lab

Preview with #AF504C

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

Preview Lab → · Contrast checker → · Palette generator →

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