#AF349F#AF349F

#AF349F is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.6% C 0.197 H 333.7°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#AF349F
RGBrgb(175, 52, 159)
HSLhsl(308, 54%, 45%)
HSVhsv(308, 70%, 69%)
CMYKcmyk(0%, 70.3%, 9.1%, 31.4%)
CIE-LABlab(44.34, 60.98, -31.90)
CIE-LCHlch(44.34, 68.81, 332.39°)
OKLaboklab(54.61% 0.1765 -0.0873)
OKLCHoklch(54.61% 0.197 333.7)
XYZxyz(25.1654, 14.0752, 34.1856)
Luminance0.1407 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF349F #34AF44
analogous
#8234AF #AF349F #AF3462
triadic
#AF349F #9FAF34 #349FAF
tetradic
#AF349F #AF8234 #34AF44 #3462AF
square
#AF349F #AF8234 #34AF44 #3462AF
split-complementary
#AF349F #62AF34 #34AF82
monochromatic
#511849 #802674 #AF349F #CC54BD #DA83CF

Accessibility & contrast

On white

5.51
#AF349F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.81
#AF349F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF349F
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF349F#FFFFFF#000000##FFFFFF
##AF349F1.005.513.815.51
#FFFFFF5.511.0021.001.00
#0000003.8121.001.0021.00
##FFFFFF5.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315DA2
Deuteranopia (green-blind)
#5C6F9C
Tritanopia (blue-blind)
#B73F65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af349f;
/* rgb */ color: rgb(175, 52, 159);
/* oklch */ color: oklch(54.6% 0.197 333.7);
Tailwind
colors: {
  custom: {
    50: '#ca76bc',
    500: '#af349f',
    950: '#000000',
  },
}
SCSS
$custom: #af349f;
$custom-light: #ca76bc;
$custom-dark: #000000;
JSON
{
  "hex": "#af349f",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 159
  },
  "hsl": {
    "h": 307.805,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54609,
    "c": 0.19689,
    "h": 333.7
  },
  "luminance": 0.14073
}

Semantic roles & 50–950 ramp

primary
#AF349F
secondary
#7BC485
accent
#DE5D4A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140912
muted
#827B81

Preview Lab

Preview with #AF349F

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

Preview Lab → · Contrast checker → · Palette generator →

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