#AF3E99#AF3E99

#AF3E99 is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.3% C 0.179 H 336.3°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AF3E99
RGBrgb(175, 62, 153)
HSLhsl(312, 48%, 46%)
HSVhsv(312, 65%, 69%)
CMYKcmyk(0%, 64.6%, 12.6%, 31.4%)
CIE-LABlab(45.44, 56.16, -26.58)
CIE-LCHlch(45.44, 62.14, 334.67°)
OKLaboklab(55.32% 0.1643 -0.0722)
OKLCHoklch(55.32% 0.179 336.3)
XYZxyz(25.1519, 14.8612, 31.6746)
Luminance0.1486 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E99 #3EAF54
analogous
#8D3EAF #AF3E99 #AF3E61
triadic
#AF3E99 #99AF3E #3E99AF
tetradic
#AF3E99 #AF8D3E #3EAF54 #3E61AF
square
#AF3E99 #AF8D3E #3EAF54 #3E61AF
split-complementary
#AF3E99 #61AF3E #3EAF8D
monochromatic
#551E4A #822E71 #AF3E99 #C863B4 #D890CA

Accessibility & contrast

On white

5.29
#AF3E99 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AF3E99 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E99
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E99#FFFFFF#000000##FFFFFF
##AF3E991.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#40619C
Deuteranopia (green-blind)
#647296
Tritanopia (blue-blind)
#B84466
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3e99;
/* rgb */ color: rgb(175, 62, 153);
/* oklch */ color: oklch(55.3% 0.179 336.3);
Tailwind
colors: {
  custom: {
    50: '#ca7bb7',
    500: '#af3e99',
    950: '#000000',
  },
}
SCSS
$custom: #af3e99;
$custom-light: #ca7bb7;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e99",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 153
  },
  "hsl": {
    "h": 311.681,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55317,
    "c": 0.17949,
    "h": 336.3
  },
  "luminance": 0.14859
}

Semantic roles & 50–950 ramp

primary
#AF3E99
secondary
#86C392
accent
#D76B51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3E99

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

Preview Lab → · Contrast checker → · Palette generator →

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