#AF4C91#AF4C91

#AF4C91 is a mid, vivid pink. Relative luminance 0.163; OKLCH L 56.6% C 0.153 H 340.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#AF4C91
RGBrgb(175, 76, 145)
HSLhsl(318, 39%, 49%)
HSVhsv(318, 57%, 69%)
CMYKcmyk(0%, 56.6%, 17.1%, 31.4%)
CIE-LABlab(47.40, 48.66, -18.77)
CIE-LCHlch(47.40, 52.15, 338.91°)
OKLaboklab(56.65% 0.1441 -0.0503)
OKLCHoklch(56.65% 0.153 340.8)
XYZxyz(25.3749, 16.3292, 28.5980)
Luminance0.1633 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4C91 #4CAF6A
analogous
#9C4CAF #AF4C91 #AF4C60
triadic
#AF4C91 #91AF4C #4C91AF
tetradic
#AF4C91 #AF9C4C #4CAF6A #4C60AF
square
#AF4C91 #AF9C4C #4CAF6A #4C60AF
split-complementary
#AF4C91 #60AF4C #4CAF9C
monochromatic
#5A274A #84396E #AF4C91 #C375AB #D6A0C5

Accessibility & contrast

On white

4.92
#AF4C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#AF4C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4C91
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4C91#FFFFFF#000000##FFFFFF
##AF4C911.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526693
Deuteranopia (green-blind)
#6E768E
Tritanopia (blue-blind)
#B84E68
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #af4c91;
/* rgb */ color: rgb(175, 76, 145);
/* oklch */ color: oklch(56.6% 0.153 340.8);
Tailwind
colors: {
  custom: {
    50: '#c983b1',
    500: '#af4c91',
    950: '#000000',
  },
}
SCSS
$custom: #af4c91;
$custom-light: #c983b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4c91",
  "rgb": {
    "r": 175,
    "g": 76,
    "b": 145
  },
  "hsl": {
    "h": 318.182,
    "s": 39.442,
    "l": 49.216
  },
  "oklch": {
    "l": 0.56645,
    "c": 0.15266,
    "h": 340.8
  },
  "luminance": 0.16327
}

Semantic roles & 50–950 ramp

primary
#AF4C91
secondary
#94C2A2
accent
#CF7C58
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140B10
muted
#827C7F

Preview Lab

Preview with #AF4C91

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

Preview Lab → · Contrast checker → · Palette generator →

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