#AF349D#AF349D

#AF349D is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.195 H 334.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#AF349D
RGBrgb(175, 52, 157)
HSLhsl(309, 54%, 45%)
HSVhsv(309, 70%, 69%)
CMYKcmyk(0%, 70.3%, 10.3%, 31.4%)
CIE-LABlab(44.24, 60.67, -30.85)
CIE-LCHlch(44.24, 68.06, 333.04°)
OKLaboklab(54.51% 0.1763 -0.0843)
OKLCHoklch(54.51% 0.195 334.4)
XYZxyz(24.9932, 14.0064, 33.2789)
Luminance0.1400 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF349D #34AF46
analogous
#8334AF #AF349D #AF3460
triadic
#AF349D #9DAF34 #349DAF
tetradic
#AF349D #AF8334 #34AF46 #3460AF
square
#AF349D #AF8334 #34AF46 #3460AF
split-complementary
#AF349D #60AF34 #34AF83
monochromatic
#511848 #802673 #AF349D #CC54BB #DA83CD

Accessibility & contrast

On white

5.53
#AF349D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#AF349D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF349D
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF349D#FFFFFF#000000##FFFFFF
##AF349D1.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325DA0
Deuteranopia (green-blind)
#5D6F9A
Tritanopia (blue-blind)
#B73E64
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af349d;
/* rgb */ color: rgb(175, 52, 157);
/* oklch */ color: oklch(54.5% 0.195 334.4);
Tailwind
colors: {
  custom: {
    50: '#ca76ba',
    500: '#af349d',
    950: '#000000',
  },
}
SCSS
$custom: #af349d;
$custom-light: #ca76ba;
$custom-dark: #000000;
JSON
{
  "hex": "#af349d",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 157
  },
  "hsl": {
    "h": 308.78,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54506,
    "c": 0.19541,
    "h": 334.4
  },
  "luminance": 0.14004
}

Semantic roles & 50–950 ramp

primary
#AF349D
secondary
#7BC486
accent
#DE604A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF349D

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

Preview Lab → · Contrast checker → · Palette generator →

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