#AF3B91#AF3B91

#AF3B91 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.6% C 0.178 H 339.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#AF3B91
RGBrgb(175, 59, 145)
HSLhsl(316, 50%, 46%)
HSVhsv(316, 66%, 69%)
CMYKcmyk(0%, 66.3%, 17.1%, 31.4%)
CIE-LABlab(44.64, 56.18, -23.01)
CIE-LCHlch(44.64, 60.71, 337.72°)
OKLaboklab(54.62% 0.1667 -0.0621)
OKLCHoklch(54.62% 0.178 339.6)
XYZxyz(24.3545, 14.2884, 28.2579)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3B91 #3BAF59
analogous
#933BAF #AF3B91 #AF3B57
triadic
#AF3B91 #91AF3B #3B91AF
tetradic
#AF3B91 #AF933B #3BAF59 #3B57AF
square
#AF3B91 #AF933B #3BAF59 #3B57AF
split-complementary
#AF3B91 #57AF3B #3BAF93
monochromatic
#531C45 #812C6B #AF3B91 #C95EAD #D88CC5

Accessibility & contrast

On white

5.44
#AF3B91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#AF3B91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3B91
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3B91#FFFFFF#000000##FFFFFF
##AF3B911.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415E94
Deuteranopia (green-blind)
#65708E
Tritanopia (blue-blind)
#B93E61
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #af3b91;
/* rgb */ color: rgb(175, 59, 145);
/* oklch */ color: oklch(54.6% 0.178 339.6);
Tailwind
colors: {
  custom: {
    50: '#ca79b1',
    500: '#af3b91',
    950: '#000000',
  },
}
SCSS
$custom: #af3b91;
$custom-light: #ca79b1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3b91",
  "rgb": {
    "r": 175,
    "g": 59,
    "b": 145
  },
  "hsl": {
    "h": 315.517,
    "s": 49.573,
    "l": 45.882
  },
  "oklch": {
    "l": 0.54616,
    "c": 0.17786,
    "h": 339.6
  },
  "luminance": 0.14286
}

Semantic roles & 50–950 ramp

primary
#AF3B91
secondary
#83C393
accent
#D9724F
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3B91

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

Preview Lab → · Contrast checker → · Palette generator →

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