#AF538D#AF538D

#AF538D is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.4% C 0.138 H 343.7°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#AF538D
RGBrgb(175, 83, 141)
HSLhsl(322, 37%, 51%)
HSVhsv(322, 53%, 69%)
CMYKcmyk(0%, 52.6%, 19.4%, 31.4%)
CIE-LABlab(48.54, 44.62, -14.64)
CIE-LCHlch(48.54, 46.96, 341.84°)
OKLaboklab(57.44% 0.1329 -0.0389)
OKLCHoklch(57.44% 0.138 343.7)
XYZxyz(25.5807, 17.2256, 27.1717)
Luminance0.1722 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF538D #53AF75
analogous
#A353AF #AF538D #AF535F
triadic
#AF538D #8DAF53 #538DAF
tetradic
#AF538D #AFA353 #53AF75 #535FAF
square
#AF538D #AFA353 #53AF75 #535FAF
split-complementary
#AF538D #5FAF53 #53AFA3
monochromatic
#5D2B4A #863E6C #AF538D #C27DA9 #D6A7C4

Accessibility & contrast

On white

4.72
#AF538D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#AF538D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF538D
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF538D#FFFFFF#000000##FFFFFF
##AF538D1.004.724.444.72
#FFFFFF4.721.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6A8F
Deuteranopia (green-blind)
#73798B
Tritanopia (blue-blind)
#B9536A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #af538d;
/* rgb */ color: rgb(175, 83, 141);
/* oklch */ color: oklch(57.4% 0.138 343.7);
Tailwind
colors: {
  custom: {
    50: '#c987ae',
    500: '#af538d',
    950: '#000000',
  },
}
SCSS
$custom: #af538d;
$custom-light: #c987ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af538d",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 141
  },
  "hsl": {
    "h": 322.174,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57441,
    "c": 0.13843,
    "h": 343.7
  },
  "luminance": 0.17224
}

Semantic roles & 50–950 ramp

primary
#AF538D
secondary
#9AC3AA
accent
#CD855B
background
#FCF8FA
surface
#F9F0F4
border
#D2CBCE
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF538D

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

Preview Lab → · Contrast checker → · Palette generator →

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