#AF537E#AF537E

#AF537E is a mid, vivid pink. Relative luminance 0.168; OKLCH L 56.9% C 0.129 H 352.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#AF537E
RGBrgb(175, 83, 126)
HSLhsl(332, 37%, 51%)
HSVhsv(332, 53%, 69%)
CMYKcmyk(0%, 52.6%, 28%, 31.4%)
CIE-LABlab(48.02, 42.44, -6.42)
CIE-LCHlch(48.02, 42.92, 351.39°)
OKLaboklab(56.88% 0.1284 -0.0165)
OKLCHoklch(56.88% 0.129 352.7)
XYZxyz(24.5393, 16.8090, 21.6867)
Luminance0.1681 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF537E #53AF84
analogous
#AF53AC #AF537E #AF5653
triadic
#AF537E #7EAF53 #537EAF
tetradic
#AF537E #ACAF53 #53AF84 #5653AF
square
#AF537E #ACAF53 #53AF84 #5653AF
split-complementary
#AF537E #53AF56 #53ACAF
monochromatic
#5D2B42 #863E60 #AF537E #C27D9D #D6A7BD

Accessibility & contrast

On white

4.81
#AF537E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#AF537E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF537E
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF537E#FFFFFF#000000##FFFFFF
##AF537E1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F687F
Deuteranopia (green-blind)
#77787C
Tritanopia (blue-blind)
#BB4F63
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #af537e;
/* rgb */ color: rgb(175, 83, 126);
/* oklch */ color: oklch(56.9% 0.129 352.7);
Tailwind
colors: {
  custom: {
    50: '#c987a3',
    500: '#af537e',
    950: '#000000',
  },
}
SCSS
$custom: #af537e;
$custom-light: #c987a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af537e",
  "rgb": {
    "r": 175,
    "g": 83,
    "b": 126
  },
  "hsl": {
    "h": 331.957,
    "s": 36.508,
    "l": 50.588
  },
  "oklch": {
    "l": 0.56877,
    "c": 0.12941,
    "h": 352.7
  },
  "luminance": 0.16807
}

Semantic roles & 50–950 ramp

primary
#AF537E
secondary
#9AC3B0
accent
#CD985B
background
#FCF8FA
surface
#F9F0F3
border
#D2CBCD
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF537E

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

Preview Lab → · Contrast checker → · Palette generator →

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