#AF488F#AF488F

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

Color values

HEX#AF488F
RGBrgb(175, 72, 143)
HSLhsl(319, 42%, 48%)
HSVhsv(319, 59%, 69%)
CMYKcmyk(0%, 58.9%, 18.3%, 31.4%)
CIE-LABlab(46.62, 50.24, -18.76)
CIE-LCHlch(46.62, 53.63, 339.52°)
OKLaboklab(56.04% 0.1493 -0.0502)
OKLCHoklch(56.04% 0.158 341.4)
XYZxyz(24.9550, 15.7340, 27.7039)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF488F #48AF68
analogous
#9B48AF #AF488F #AF485B
triadic
#AF488F #8FAF48 #488FAF
tetradic
#AF488F #AF9B48 #48AF68 #485BAF
square
#AF488F #AF9B48 #48AF68 #485BAF
split-complementary
#AF488F #5BAF48 #48AF9B
monochromatic
#582448 #84366C #AF488F #C470AA #D69BC4

Accessibility & contrast

On white

5.06
#AF488F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#AF488F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF488F
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF488F#FFFFFF#000000##FFFFFF
##AF488F1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F6491
Deuteranopia (green-blind)
#6C758C
Tritanopia (blue-blind)
#B94965
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #af488f;
/* rgb */ color: rgb(175, 72, 143);
/* oklch */ color: oklch(56.0% 0.158 341.4);
Tailwind
colors: {
  custom: {
    50: '#ca80b0',
    500: '#af488f',
    950: '#000000',
  },
}
SCSS
$custom: #af488f;
$custom-light: #ca80b0;
$custom-dark: #000000;
JSON
{
  "hex": "#af488f",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 143
  },
  "hsl": {
    "h": 318.641,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.56043,
    "c": 0.15753,
    "h": 341.4
  },
  "luminance": 0.15732
}

Semantic roles & 50–950 ramp

primary
#AF488F
secondary
#90C2A0
accent
#D27D56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF488F

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

Preview Lab → · Contrast checker → · Palette generator →

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