#AF488B#AF488B

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

Color values

HEX#AF488B
RGBrgb(175, 72, 139)
HSLhsl(321, 42%, 48%)
HSVhsv(321, 59%, 69%)
CMYKcmyk(0%, 58.9%, 20.6%, 31.4%)
CIE-LABlab(46.47, 49.64, -16.60)
CIE-LCHlch(46.47, 52.34, 341.51°)
OKLaboklab(55.87% 0.1484 -0.0442)
OKLCHoklch(55.87% 0.155 343.4)
XYZxyz(24.6574, 15.6149, 26.1365)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF488B #48AF6C
analogous
#9F48AF #AF488B #AF4857
triadic
#AF488B #8BAF48 #488BAF
tetradic
#AF488B #AF9F48 #48AF6C #4857AF
square
#AF488B #AF9F48 #48AF6C #4857AF
split-complementary
#AF488B #57AF48 #48AF9F
monochromatic
#582446 #843669 #AF488B #C470A7 #D69BC2

Accessibility & contrast

On white

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

On black

4.12
#AF488B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF488B#FFFFFF#000000##FFFFFF
##AF488B1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50638D
Deuteranopia (green-blind)
#6D7488
Tritanopia (blue-blind)
#B94863
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af488b;
/* rgb */ color: rgb(175, 72, 139);
/* oklch */ color: oklch(55.9% 0.155 343.4);
Tailwind
colors: {
  custom: {
    50: '#ca80ad',
    500: '#af488b',
    950: '#000000',
  },
}
SCSS
$custom: #af488b;
$custom-light: #ca80ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af488b",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 139
  },
  "hsl": {
    "h": 320.971,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55874,
    "c": 0.1548,
    "h": 343.4
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#AF488B
secondary
#90C2A2
accent
#D28156
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF488B

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

Preview Lab → · Contrast checker → · Palette generator →

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