#AF505F#AF505F

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

Color values

HEX#AF505F
RGBrgb(175, 80, 95)
HSLhsl(351, 37%, 50%)
HSVhsv(351, 54%, 69%)
CMYKcmyk(0%, 54.3%, 45.7%, 31.4%)
CIE-LABlab(46.55, 40.21, 10.23)
CIE-LCHlch(46.55, 41.49, 14.28°)
OKLaboklab(55.48% 0.1217 0.0264)
OKLCHoklch(55.48% 0.125 12.2)
XYZxyz(22.6149, 15.6800, 12.6598)
Luminance0.1568 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF505F #50AFA0
analogous
#AF508F #AF505F #AF7050
triadic
#AF505F #5FAF50 #505FAF
tetradic
#AF505F #8FAF50 #50AFA0 #7050AF
square
#AF505F #8FAF50 #50AFA0 #7050AF
split-complementary
#AF505F #50AF70 #508FAF
monochromatic
#5B2A31 #853D48 #AF505F #C27A85 #D5A4AC

Accessibility & contrast

On white

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

On black

4.14
#AF505F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF505F#FFFFFF#000000##FFFFFF
##AF505F1.005.084.145.08
#FFFFFF5.081.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64635F
Deuteranopia (green-blind)
#7C755D
Tritanopia (blue-blind)
#BD4456
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af505f;
/* rgb */ color: rgb(175, 80, 95);
/* oklch */ color: oklch(55.5% 0.125 12.2);
Tailwind
colors: {
  custom: {
    50: '#cb848c',
    500: '#af505f',
    950: '#000000',
  },
}
SCSS
$custom: #af505f;
$custom-light: #cb848c;
$custom-dark: #000000;
JSON
{
  "hex": "#af505f",
  "rgb": {
    "r": 175,
    "g": 80,
    "b": 95
  },
  "hsl": {
    "h": 350.526,
    "s": 37.255,
    "l": 50
  },
  "oklch": {
    "l": 0.55485,
    "c": 0.12455,
    "h": 12.2
  },
  "luminance": 0.15678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF505F

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

Preview Lab → · Contrast checker → · Palette generator →

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