#AF4881#AF4881

#AF4881 is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.5% C 0.149 H 348.7°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#AF4881
RGBrgb(175, 72, 129)
HSLhsl(327, 42%, 48%)
HSVhsv(327, 59%, 69%)
CMYKcmyk(0%, 58.9%, 26.3%, 31.4%)
CIE-LABlab(46.09, 48.22, -11.12)
CIE-LCHlch(46.09, 49.49, 347.01°)
OKLaboklab(55.47% 0.1457 -0.0291)
OKLCHoklch(55.47% 0.149 348.7)
XYZxyz(23.9599, 15.3359, 22.4629)
Luminance0.1533 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4881 #48AF76
analogous
#A948AF #AF4881 #AF484E
triadic
#AF4881 #81AF48 #4881AF
tetradic
#AF4881 #AFA948 #48AF76 #484EAF
square
#AF4881 #AFA948 #48AF76 #484EAF
split-complementary
#AF4881 #4EAF48 #48AFA9
monochromatic
#582441 #843661 #AF4881 #C4709F #D69BBC

Accessibility & contrast

On white

5.16
#AF4881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#AF4881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4881
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4881#FFFFFF#000000##FFFFFF
##AF48811.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546283
Deuteranopia (green-blind)
#70747E
Tritanopia (blue-blind)
#BB455F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4881;
/* rgb */ color: rgb(175, 72, 129);
/* oklch */ color: oklch(55.5% 0.149 348.7);
Tailwind
colors: {
  custom: {
    50: '#ca80a5',
    500: '#af4881',
    950: '#000000',
  },
}
SCSS
$custom: #af4881;
$custom-light: #ca80a5;
$custom-dark: #000000;
JSON
{
  "hex": "#af4881",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 129
  },
  "hsl": {
    "h": 326.796,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55474,
    "c": 0.14858,
    "h": 348.7
  },
  "luminance": 0.15334
}

Semantic roles & 50–950 ramp

primary
#AF4881
secondary
#90C2A7
accent
#D28D56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4881

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

Preview Lab → · Contrast checker → · Palette generator →

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