#AF556B#AF556B

#AF556B is a mid, moderate red. Relative luminance 0.167; OKLCH L 56.6% C 0.119 H 6.2°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#AF556B
RGBrgb(175, 85, 107)
HSLhsl(345, 36%, 51%)
HSVhsv(345, 51%, 69%)
CMYKcmyk(0%, 51.4%, 38.9%, 31.4%)
CIE-LABlab(47.85, 38.98, 4.80)
CIE-LCHlch(47.85, 39.28, 7.02°)
OKLaboklab(56.56% 0.1185 0.0129)
OKLCHoklch(56.56% 0.119 6.2)
XYZxyz(23.5828, 16.6748, 15.8836)
Luminance0.1667 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF556B #55AF99
analogous
#AF5598 #AF556B #AF6C55
triadic
#AF556B #6BAF55 #556BAF
tetradic
#AF556B #98AF55 #55AF99 #6C55AF
square
#AF556B #98AF55 #55AF99 #6C55AF
split-complementary
#AF556B #55AF6C #5598AF
monochromatic
#5E2C38 #874051 #AF556B #C37F8F #D6A8B3

Accessibility & contrast

On white

4.84
#AF556B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#AF556B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF556B
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF556B#FFFFFF#000000##FFFFFF
##AF556B1.004.844.334.84
#FFFFFF4.841.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65676C
Deuteranopia (green-blind)
#7C7869
Tritanopia (blue-blind)
#BC4C5D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af556b;
/* rgb */ color: rgb(175, 85, 107);
/* oklch */ color: oklch(56.6% 0.119 6.2);
Tailwind
colors: {
  custom: {
    50: '#ca8795',
    500: '#af556b',
    950: '#000000',
  },
}
SCSS
$custom: #af556b;
$custom-light: #ca8795;
$custom-dark: #000000;
JSON
{
  "hex": "#af556b",
  "rgb": {
    "r": 175,
    "g": 85,
    "b": 107
  },
  "hsl": {
    "h": 345.333,
    "s": 36,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56562,
    "c": 0.11915,
    "h": 6.2
  },
  "luminance": 0.16672
}

Semantic roles & 50–950 ramp

primary
#AF556B
secondary
#9CC4BA
accent
#CCB15C
background
#FCF8F9
surface
#F9F0F1
border
#D2CBCB
text
#140B0D
muted
#827C7E

Preview Lab

Preview with #AF556B

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

Preview Lab → · Contrast checker → · Palette generator →

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