#AF4882#AF4882

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

Color values

HEX#AF4882
RGBrgb(175, 72, 130)
HSLhsl(326, 42%, 48%)
HSVhsv(326, 59%, 69%)
CMYKcmyk(0%, 58.9%, 25.7%, 31.4%)
CIE-LABlab(46.13, 48.36, -11.67)
CIE-LCHlch(46.13, 49.75, 346.43°)
OKLaboklab(55.51% 0.146 -0.0306)
OKLCHoklch(55.51% 0.149 348.2)
XYZxyz(24.0267, 15.3627, 22.8147)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4882 #48AF75
analogous
#A848AF #AF4882 #AF484E
triadic
#AF4882 #82AF48 #4882AF
tetradic
#AF4882 #AFA848 #48AF75 #484EAF
square
#AF4882 #AFA848 #48AF75 #484EAF
split-complementary
#AF4882 #4EAF48 #48AFA8
monochromatic
#582442 #843662 #AF4882 #C4709F #D69BBC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF4882#FFFFFF#000000##FFFFFF
##AF48821.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)
#546284
Deuteranopia (green-blind)
#70747F
Tritanopia (blue-blind)
#BA455F
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4882;
/* rgb */ color: rgb(175, 72, 130);
/* oklch */ color: oklch(55.5% 0.149 348.2);
Tailwind
colors: {
  custom: {
    50: '#ca80a6',
    500: '#af4882',
    950: '#000000',
  },
}
SCSS
$custom: #af4882;
$custom-light: #ca80a6;
$custom-dark: #000000;
JSON
{
  "hex": "#af4882",
  "rgb": {
    "r": 175,
    "g": 72,
    "b": 130
  },
  "hsl": {
    "h": 326.214,
    "s": 41.7,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55512,
    "c": 0.14917,
    "h": 348.2
  },
  "luminance": 0.1536
}

Semantic roles & 50–950 ramp

primary
#AF4882
secondary
#90C2A6
accent
#D28C56
background
#FCF8FA
surface
#F9EFF4
border
#D2CACE
text
#140B0F
muted
#827C7F

Preview Lab

Preview with #AF4882

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

Preview Lab → · Contrast checker → · Palette generator →

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