#AF488D#AF488D

#AF488D is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.0% C 0.156 H 342.4°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#AF488D
RGBrgb(175, 72, 141)
HSLhsl(320, 42%, 48%)
HSVhsv(320, 59%, 69%)
CMYKcmyk(0%, 58.9%, 19.4%, 31.4%)
CIE-LABlab(46.54, 49.94, -17.68)
CIE-LCHlch(46.54, 52.98, 340.50°)
OKLaboklab(55.96% 0.1488 -0.0472)
OKLCHoklch(55.96% 0.156 342.4)
XYZxyz(24.8049, 15.6739, 26.9131)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF488D #48AF6A
analogous
#9D48AF #AF488D #AF4859
triadic
#AF488D #8DAF48 #488DAF
tetradic
#AF488D #AF9D48 #48AF6A #4859AF
square
#AF488D #AF9D48 #48AF6A #4859AF
split-complementary
#AF488D #59AF48 #48AF9D
monochromatic
#582447 #84366A #AF488D #C470A8 #D69BC3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF488D#FFFFFF#000000##FFFFFF
##AF488D1.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)
#4F648F
Deuteranopia (green-blind)
#6D758A
Tritanopia (blue-blind)
#B94964
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af488d;
/* rgb */ color: rgb(175, 72, 141);
/* oklch */ color: oklch(56.0% 0.156 342.4);
Tailwind
colors: {
  custom: {
    50: '#ca80ae',
    500: '#af488d',
    950: '#000000',
  },
}
SCSS
$custom: #af488d;
$custom-light: #ca80ae;
$custom-dark: #000000;
JSON
{
  "hex": "#af488d",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 141
  },
  "hsl": {
    "h": 319.806,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55958,
    "c": 0.15615,
    "h": 342.4
  },
  "luminance": 0.15672
}

Semantic roles & 50–950 ramp

primary
#AF488D
secondary
#90C2A1
accent
#D27F56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF488D

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

Preview Lab → · Contrast checker → · Palette generator →

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