#AF488C#AF488C

#AF488C is a mid, vivid pink. Relative luminance 0.156; OKLCH L 55.9% C 0.155 H 342.9°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#AF488C
RGBrgb(175, 72, 140)
HSLhsl(320, 42%, 48%)
HSVhsv(320, 59%, 69%)
CMYKcmyk(0%, 58.9%, 20%, 31.4%)
CIE-LABlab(46.50, 49.79, -17.14)
CIE-LCHlch(46.50, 52.66, 341.00°)
OKLaboklab(55.92% 0.1486 -0.0457)
OKLCHoklch(55.92% 0.155 342.9)
XYZxyz(24.7308, 15.6443, 26.5230)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF488C #48AF6B
analogous
#9E48AF #AF488C #AF4859
triadic
#AF488C #8CAF48 #488CAF
tetradic
#AF488C #AF9E48 #48AF6B #4859AF
square
#AF488C #AF9E48 #48AF6B #4859AF
split-complementary
#AF488C #59AF48 #48AF9E
monochromatic
#582447 #843669 #AF488C #C470A8 #D69BC2

Accessibility & contrast

On white

5.09
#AF488C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF488C
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF488C#FFFFFF#000000##FFFFFF
##AF488C1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638E
Deuteranopia (green-blind)
#6D7489
Tritanopia (blue-blind)
#B94864
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af488c;
/* rgb */ color: rgb(175, 72, 140);
/* oklch */ color: oklch(55.9% 0.155 342.9);
Tailwind
colors: {
  custom: {
    50: '#ca80ad',
    500: '#af488c',
    950: '#000000',
  },
}
SCSS
$custom: #af488c;
$custom-light: #ca80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af488c",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 140
  },
  "hsl": {
    "h": 320.388,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55915,
    "c": 0.15547,
    "h": 342.9
  },
  "luminance": 0.15642
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF488C

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

Preview Lab → · Contrast checker → · Palette generator →

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