#AF3E9A#AF3E9A

#AF3E9A is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.4% C 0.180 H 335.9°. Best body text is #FFFFFF at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#AF3E9A
RGBrgb(175, 62, 154)
HSLhsl(311, 48%, 46%)
HSVhsv(311, 65%, 69%)
CMYKcmyk(0%, 64.6%, 12%, 31.4%)
CIE-LABlab(45.49, 56.32, -27.11)
CIE-LCHlch(45.49, 62.50, 334.30°)
OKLaboklab(55.36% 0.1645 -0.0737)
OKLCHoklch(55.36% 0.18 335.9)
XYZxyz(25.2348, 14.8944, 32.1114)
Luminance0.1489 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3E9A #3EAF53
analogous
#8C3EAF #AF3E9A #AF3E62
triadic
#AF3E9A #9AAF3E #3E9AAF
tetradic
#AF3E9A #AF8C3E #3EAF53 #3E62AF
square
#AF3E9A #AF8C3E #3EAF53 #3E62AF
split-complementary
#AF3E9A #62AF3E #3EAF8C
monochromatic
#551E4A #822E72 #AF3E9A #C863B5 #D890CA

Accessibility & contrast

On white

5.28
#AF3E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#AF3E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3E9A
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3E9A#FFFFFF#000000##FFFFFF
##AF3E9A1.005.283.985.28
#FFFFFF5.281.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F619D
Deuteranopia (green-blind)
#637297
Tritanopia (blue-blind)
#B84566
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #af3e9a;
/* rgb */ color: rgb(175, 62, 154);
/* oklch */ color: oklch(55.4% 0.180 335.9);
Tailwind
colors: {
  custom: {
    50: '#ca7bb8',
    500: '#af3e9a',
    950: '#000000',
  },
}
SCSS
$custom: #af3e9a;
$custom-light: #ca7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3e9a",
  "rgb": {
    "r": 175,
    "g": 62,
    "b": 154
  },
  "hsl": {
    "h": 311.15,
    "s": 47.679,
    "l": 46.471
  },
  "oklch": {
    "l": 0.55365,
    "c": 0.18023,
    "h": 335.9
  },
  "luminance": 0.14892
}

Semantic roles & 50–950 ramp

primary
#AF3E9A
secondary
#86C391
accent
#D76A51
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140A11
muted
#827C80

Preview Lab

Preview with #AF3E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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