#AF4591#AF4591

#AF4591 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 55.8% C 0.164 H 340.2°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#AF4591
RGBrgb(175, 69, 145)
HSLhsl(317, 43%, 48%)
HSVhsv(317, 61%, 69%)
CMYKcmyk(0%, 60.6%, 17.1%, 31.4%)
CIE-LABlab(46.20, 51.91, -20.61)
CIE-LCHlch(46.20, 55.85, 338.34°)
OKLaboklab(55.76% 0.1538 -0.0554)
OKLCHoklch(55.76% 0.164 340.2)
XYZxyz(24.9187, 15.4167, 28.4459)
Luminance0.1542 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF4591 #45AF63
analogous
#9845AF #AF4591 #AF455C
triadic
#AF4591 #91AF45 #4591AF
tetradic
#AF4591 #AF9845 #45AF63 #455CAF
square
#AF4591 #AF9845 #45AF63 #455CAF
split-complementary
#AF4591 #5CAF45 #45AF98
monochromatic
#572248 #83346D #AF4591 #C56CAC #D698C5

Accessibility & contrast

On white

5.14
#AF4591 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#AF4591 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF4591
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF4591#FFFFFF#000000##FFFFFF
##AF45911.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B6393
Deuteranopia (green-blind)
#6A748E
Tritanopia (blue-blind)
#B94765
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #af4591;
/* rgb */ color: rgb(175, 69, 145);
/* oklch */ color: oklch(55.8% 0.164 340.2);
Tailwind
colors: {
  custom: {
    50: '#ca7fb1',
    500: '#af4591',
    950: '#000000',
  },
}
SCSS
$custom: #af4591;
$custom-light: #ca7fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#af4591",
  "rgb": {
    "r": 175,
    "g": 69,
    "b": 145
  },
  "hsl": {
    "h": 316.981,
    "s": 43.443,
    "l": 47.843
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.16352,
    "h": 340.2
  },
  "luminance": 0.15415
}

Semantic roles & 50–950 ramp

primary
#AF4591
secondary
#8DC29C
accent
#D37855
background
#FCF8FA
surface
#F9EFF5
border
#D2CACF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF4591

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

Preview Lab → · Contrast checker → · Palette generator →

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