#AF4D91#AF4D91

#AF4D91 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 56.8% C 0.151 H 340.9°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#AF4D91
RGBrgb(175, 77, 145)
HSLhsl(318, 39%, 49%)
HSVhsv(318, 56%, 69%)
CMYKcmyk(0%, 56%, 17.1%, 31.4%)
CIE-LABlab(47.58, 48.18, -18.49)
CIE-LCHlch(47.58, 51.61, 339.00°)
OKLaboklab(56.78% 0.1427 -0.0495)
OKLCHoklch(56.78% 0.151 340.9)
XYZxyz(25.4444, 16.4681, 28.6211)
Luminance0.1647 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4D91 #4DAF6B
analogous
#9C4DAF #AF4D91 #AF4D60
triadic
#AF4D91 #91AF4D #4D91AF
tetradic
#AF4D91 #AF9C4D #4DAF6B #4D60AF
square
#AF4D91 #AF9C4D #4DAF6B #4D60AF
split-complementary
#AF4D91 #60AF4D #4DAF9C
monochromatic
#5A284B #853A6E #AF4D91 #C376AB #D6A1C5

Accessibility & contrast

On white

4.89
#AF4D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#AF4D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4D91
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4D91#FFFFFF#000000##FFFFFF
##AF4D911.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526793
Deuteranopia (green-blind)
#6E778E
Tritanopia (blue-blind)
#B84F68
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #af4d91;
/* rgb */ color: rgb(175, 77, 145);
/* oklch */ color: oklch(56.8% 0.151 340.9);
Tailwind
colors: {
  custom: {
    50: '#c983b1',
    500: '#af4d91',
    950: '#000000',
  },
}
SCSS
$custom: #af4d91;
$custom-light: #c983b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4d91",
  "rgb": {
    "r": 175,
    "g": 77,
    "b": 145
  },
  "hsl": {
    "h": 318.367,
    "s": 38.889,
    "l": 49.412
  },
  "oklch": {
    "l": 0.56778,
    "c": 0.15106,
    "h": 340.9
  },
  "luminance": 0.16466
}

Semantic roles & 50–950 ramp

primary
#AF4D91
secondary
#95C3A3
accent
#CF7D59
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#130B10
muted
#827C7F

Preview Lab

Preview with #AF4D91

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

Preview Lab → · Contrast checker → · Palette generator →

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