#AF505E#AF505E

#AF505E is a mid, vivid red. Relative luminance 0.157; OKLCH L 55.5% C 0.124 H 12.9°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF505E
RGBrgb(175, 80, 94)
HSLhsl(351, 37%, 50%)
HSVhsv(351, 54%, 69%)
CMYKcmyk(0%, 54.3%, 46.3%, 31.4%)
CIE-LABlab(46.53, 40.11, 10.81)
CIE-LCHlch(46.53, 41.54, 15.08°)
OKLaboklab(55.46% 0.1213 0.0278)
OKLCHoklch(55.46% 0.124 12.9)
XYZxyz(22.5698, 15.6619, 12.4220)
Luminance0.1566 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF505E #50AFA1
analogous
#AF508D #AF505E #AF7250
triadic
#AF505E #5EAF50 #505EAF
tetradic
#AF505E #8DAF50 #50AFA1 #7250AF
square
#AF505E #8DAF50 #50AFA1 #7250AF
split-complementary
#AF505E #50AF72 #508DAF
monochromatic
#5B2A31 #853D47 #AF505E #C27A85 #D5A4AB

Accessibility & contrast

On white

5.08
#AF505E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#AF505E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF505E
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF505E#FFFFFF#000000##FFFFFF
##AF505E1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64625E
Deuteranopia (green-blind)
#7C755C
Tritanopia (blue-blind)
#BE4455
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af505e;
/* rgb */ color: rgb(175, 80, 94);
/* oklch */ color: oklch(55.5% 0.124 12.9);
Tailwind
colors: {
  custom: {
    50: '#cb848b',
    500: '#af505e',
    950: '#000000',
  },
}
SCSS
$custom: #af505e;
$custom-light: #cb848b;
$custom-dark: #000000;
JSON
{
  "hex": "#af505e",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 94
  },
  "hsl": {
    "h": 351.158,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.55459,
    "c": 0.12446,
    "h": 12.9
  },
  "luminance": 0.15659
}

Semantic roles & 50–950 ramp

primary
#AF505E
secondary
#98C3BC
accent
#CDBC5B
background
#FCF8F8
surface
#F9EFF0
border
#D2CACB
text
#140B0C
muted
#827C7D

Preview Lab

Preview with #AF505E

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

Preview Lab → · Contrast checker → · Palette generator →

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