#AF3A91#AF3A91

#AF3A91 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.179 H 339.5°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#AF3A91
RGBrgb(175, 58, 145)
HSLhsl(315, 50%, 46%)
HSVhsv(315, 67%, 69%)
CMYKcmyk(0%, 66.9%, 17.1%, 31.4%)
CIE-LABlab(44.50, 56.58, -23.24)
CIE-LCHlch(44.50, 61.17, 337.67°)
OKLaboklab(54.51% 0.1679 -0.0627)
OKLCHoklch(54.51% 0.179 339.5)
XYZxyz(24.3036, 14.1866, 28.2409)
Luminance0.1418 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3A91 #3AAF58
analogous
#933AAF #AF3A91 #AF3A56
triadic
#AF3A91 #91AF3A #3A91AF
tetradic
#AF3A91 #AF933A #3AAF58 #3A56AF
square
#AF3A91 #AF933A #3AAF58 #3A56AF
split-complementary
#AF3A91 #56AF3A #3AAF93
monochromatic
#531C45 #812B6B #AF3A91 #C95DAD #D98BC5

Accessibility & contrast

On white

5.47
#AF3A91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#AF3A91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3A91
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3A91#FFFFFF#000000##FFFFFF
##AF3A911.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405D94
Deuteranopia (green-blind)
#65708E
Tritanopia (blue-blind)
#B93E60
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af3a91;
/* rgb */ color: rgb(175, 58, 145);
/* oklch */ color: oklch(54.5% 0.179 339.5);
Tailwind
colors: {
  custom: {
    50: '#ca79b1',
    500: '#af3a91',
    950: '#000000',
  },
}
SCSS
$custom: #af3a91;
$custom-light: #ca79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3a91",
  "rgb": {
    "r": 175,
    "g": 58,
    "b": 145
  },
  "hsl": {
    "h": 315.385,
    "s": 50.215,
    "l": 45.686
  },
  "oklch": {
    "l": 0.54511,
    "c": 0.1792,
    "h": 339.5
  },
  "luminance": 0.14184
}

Semantic roles & 50–950 ramp

primary
#AF3A91
secondary
#82C393
accent
#DA724E
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3A91

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

Preview Lab → · Contrast checker → · Palette generator →

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