#AF3D91#AF3D91

#AF3D91 is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.8% C 0.175 H 339.7°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#AF3D91
RGBrgb(175, 61, 145)
HSLhsl(316, 48%, 46%)
HSVhsv(316, 65%, 69%)
CMYKcmyk(0%, 65.1%, 17.1%, 31.4%)
CIE-LABlab(44.94, 55.37, -22.56)
CIE-LCHlch(44.94, 59.78, 337.83°)
OKLaboklab(54.83% 0.1642 -0.0608)
OKLCHoklch(54.83% 0.175 339.7)
XYZxyz(24.4593, 14.4980, 28.2928)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3D91 #3DAF5B
analogous
#943DAF #AF3D91 #AF3D58
triadic
#AF3D91 #91AF3D #3D91AF
tetradic
#AF3D91 #AF943D #3DAF5B #3D58AF
square
#AF3D91 #AF943D #3DAF5B #3D58AF
split-complementary
#AF3D91 #58AF3D #3DAF94
monochromatic
#541D46 #822D6B #AF3D91 #C861AD #D88FC5

Accessibility & contrast

On white

5.39
#AF3D91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#AF3D91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3D91
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3D91#FFFFFF#000000##FFFFFF
##AF3D911.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435F94
Deuteranopia (green-blind)
#66718E
Tritanopia (blue-blind)
#B94061
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3d91;
/* rgb */ color: rgb(175, 61, 145);
/* oklch */ color: oklch(54.8% 0.175 339.7);
Tailwind
colors: {
  custom: {
    50: '#ca7ab1',
    500: '#af3d91',
    950: '#000000',
  },
}
SCSS
$custom: #af3d91;
$custom-light: #ca7ab1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3d91",
  "rgb": {
    "r": 175,
    "g": 61,
    "b": 145
  },
  "hsl": {
    "h": 315.789,
    "s": 48.305,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54832,
    "c": 0.17511,
    "h": 339.7
  },
  "luminance": 0.14496
}

Semantic roles & 50–950 ramp

primary
#AF3D91
secondary
#85C395
accent
#D87450
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3D91

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

Preview Lab → · Contrast checker → · Palette generator →

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