#AF3E91#AF3E91

#AF3E91 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.9% C 0.174 H 339.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#AF3E91
RGBrgb(175, 62, 145)
HSLhsl(316, 48%, 46%)
HSVhsv(316, 65%, 69%)
CMYKcmyk(0%, 64.6%, 17.1%, 31.4%)
CIE-LABlab(45.09, 54.95, -22.33)
CIE-LCHlch(45.09, 59.31, 337.89°)
OKLaboklab(54.94% 0.163 -0.0601)
OKLCHoklch(54.94% 0.174 339.7)
XYZxyz(24.5132, 14.6057, 28.3107)
Luminance0.1460 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E91 #3EAF5C
analogous
#953EAF #AF3E91 #AF3E59
triadic
#AF3E91 #91AF3E #3E91AF
tetradic
#AF3E91 #AF953E #3EAF5C #3E59AF
square
#AF3E91 #AF953E #3EAF5C #3E59AF
split-complementary
#AF3E91 #59AF3E #3EAF95
monochromatic
#551E46 #822E6C #AF3E91 #C863AD #D890C5

Accessibility & contrast

On white

5.36
#AF3E91 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AF3E91 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E91
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E91#FFFFFF#000000##FFFFFF
##AF3E911.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445F93
Deuteranopia (green-blind)
#67718E
Tritanopia (blue-blind)
#B94162
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #af3e91;
/* rgb */ color: rgb(175, 62, 145);
/* oklch */ color: oklch(54.9% 0.174 339.7);
Tailwind
colors: {
  custom: {
    50: '#ca7bb1',
    500: '#af3e91',
    950: '#000000',
  },
}
SCSS
$custom: #af3e91;
$custom-light: #ca7bb1;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e91",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 145
  },
  "hsl": {
    "h": 315.929,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.54942,
    "c": 0.17372,
    "h": 339.7
  },
  "luminance": 0.14604
}

Semantic roles & 50–950 ramp

primary
#AF3E91
secondary
#86C396
accent
#D77451
background
#FCF7FA
surface
#F9EEF5
border
#D2C9CF
text
#140A10
muted
#827C7F

Preview Lab

Preview with #AF3E91

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

Preview Lab → · Contrast checker → · Palette generator →

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