#AF3C91#AF3C91

#AF3C91 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.7% C 0.176 H 339.6°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#AF3C91
RGBrgb(175, 60, 145)
HSLhsl(316, 49%, 46%)
HSVhsv(316, 66%, 69%)
CMYKcmyk(0%, 65.7%, 17.1%, 31.4%)
CIE-LABlab(44.79, 55.78, -22.79)
CIE-LCHlch(44.79, 60.25, 337.78°)
OKLaboklab(54.72% 0.1655 -0.0614)
OKLCHoklch(54.72% 0.177 339.6)
XYZxyz(24.4064, 14.3922, 28.2752)
Luminance0.1439 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3C91 #3CAF5A
analogous
#933CAF #AF3C91 #AF3C57
triadic
#AF3C91 #91AF3C #3C91AF
tetradic
#AF3C91 #AF933C #3CAF5A #3C57AF
square
#AF3C91 #AF933C #3CAF5A #3C57AF
split-complementary
#AF3C91 #57AF3C #3CAF93
monochromatic
#541D45 #812C6B #AF3C91 #C860AD #D88DC5

Accessibility & contrast

On white

5.42
#AF3C91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#AF3C91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3C91
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3C91#FFFFFF#000000##FFFFFF
##AF3C911.005.423.885.42
#FFFFFF5.421.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425E94
Deuteranopia (green-blind)
#66718E
Tritanopia (blue-blind)
#B93F61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3c91;
/* rgb */ color: rgb(175, 60, 145);
/* oklch */ color: oklch(54.7% 0.176 339.6);
Tailwind
colors: {
  custom: {
    50: '#ca7ab1',
    500: '#af3c91',
    950: '#000000',
  },
}
SCSS
$custom: #af3c91;
$custom-light: #ca7ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3c91",
  "rgb": {
    "r": 175,
    "g": 60,
    "b": 145
  },
  "hsl": {
    "h": 315.652,
    "s": 48.936,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54723,
    "c": 0.1765,
    "h": 339.6
  },
  "luminance": 0.1439
}

Semantic roles & 50–950 ramp

primary
#AF3C91
secondary
#84C394
accent
#D8734F
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3C91

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

Preview Lab → · Contrast checker → · Palette generator →

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