#AF2C91#AF2C91

#AF2C91 is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.196 H 338.9°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AF2C91
RGBrgb(175, 44, 145)
HSLhsl(314, 60%, 43%)
HSVhsv(314, 75%, 69%)
CMYKcmyk(0%, 74.9%, 17.1%, 31.4%)
CIE-LABlab(42.71, 61.63, -26.02)
CIE-LCHlch(42.71, 66.89, 337.11°)
OKLaboklab(53.21% 0.1831 -0.0705)
OKLCHoklch(53.21% 0.196 338.9)
XYZxyz(23.6913, 12.9620, 28.0368)
Luminance0.1296 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF2C91 #2CAF4A
analogous
#8B2CAF #AF2C91 #AF2C50
triadic
#AF2C91 #91AF2C #2C91AF
tetradic
#AF2C91 #AF8B2C #2CAF4A #2C50AF
square
#AF2C91 #AF8B2C #2CAF4A #2C50AF
split-complementary
#AF2C91 #50AF2C #2CAF8B
monochromatic
#4D1340 #7E2068 #AF2C91 #D147B1 #DD78C6

Accessibility & contrast

On white

5.85
#AF2C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AF2C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF2C91
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF2C91#FFFFFF#000000##FFFFFF
##AF2C911.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345894
Deuteranopia (green-blind)
#5F6C8E
Tritanopia (blue-blind)
#B9325B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af2c91;
/* rgb */ color: rgb(175, 44, 145);
/* oklch */ color: oklch(53.2% 0.196 338.9);
Tailwind
colors: {
  custom: {
    50: '#cb73b1',
    500: '#af2c91',
    950: '#000000',
  },
}
SCSS
$custom: #af2c91;
$custom-light: #cb73b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af2c91",
  "rgb": {
    "r": 175,
    "g": 44,
    "b": 145
  },
  "hsl": {
    "h": 313.74,
    "s": 59.817,
    "l": 42.941
  },
  "oklch": {
    "l": 0.53208,
    "c": 0.19617,
    "h": 338.9
  },
  "luminance": 0.1296
}

Semantic roles & 50–950 ramp

primary
#AF2C91
secondary
#72C585
accent
#E36945
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF2C91

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

Preview Lab → · Contrast checker → · Palette generator →

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