#AF4B91#AF4B91

#AF4B91 is a mid, vivid pink. Relative luminance 0.162; OKLCH L 56.5% C 0.154 H 340.7°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#AF4B91
RGBrgb(175, 75, 145)
HSLhsl(318, 40%, 49%)
HSVhsv(318, 57%, 69%)
CMYKcmyk(0%, 57.1%, 17.1%, 31.4%)
CIE-LABlab(47.23, 49.14, -19.04)
CIE-LCHlch(47.23, 52.70, 338.82°)
OKLaboklab(56.51% 0.1456 -0.051)
OKLCHoklch(56.51% 0.154 340.7)
XYZxyz(25.3066, 16.1925, 28.5752)
Luminance0.1619 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4B91 #4BAF69
analogous
#9B4BAF #AF4B91 #AF4B5F
triadic
#AF4B91 #91AF4B #4B91AF
tetradic
#AF4B91 #AF9B4B #4BAF69 #4B5FAF
square
#AF4B91 #AF9B4B #4BAF69 #4B5FAF
split-complementary
#AF4B91 #5FAF4B #4BAF9B
monochromatic
#59264A #84396E #AF4B91 #C374AC #D69FC5

Accessibility & contrast

On white

4.96
#AF4B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#AF4B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4B91
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4B91#FFFFFF#000000##FFFFFF
##AF4B911.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#516693
Deuteranopia (green-blind)
#6D768E
Tritanopia (blue-blind)
#B84D67
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4b91;
/* rgb */ color: rgb(175, 75, 145);
/* oklch */ color: oklch(56.5% 0.154 340.7);
Tailwind
colors: {
  custom: {
    50: '#c982b1',
    500: '#af4b91',
    950: '#000000',
  },
}
SCSS
$custom: #af4b91;
$custom-light: #c982b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4b91",
  "rgb": {
    "r": 175,
    "g": 75,
    "b": 145
  },
  "hsl": {
    "h": 318,
    "s": 40,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56514,
    "c": 0.15425,
    "h": 340.7
  },
  "luminance": 0.1619
}

Semantic roles & 50–950 ramp

primary
#AF4B91
secondary
#93C2A1
accent
#D07C58
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4B91

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

Preview Lab → · Contrast checker → · Palette generator →

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