#AF349E#AF349E

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

Color values

HEX#AF349E
RGBrgb(175, 52, 158)
HSLhsl(308, 54%, 45%)
HSVhsv(308, 70%, 69%)
CMYKcmyk(0%, 70.3%, 9.7%, 31.4%)
CIE-LABlab(44.29, 60.82, -31.38)
CIE-LCHlch(44.29, 68.44, 332.71°)
OKLaboklab(54.56% 0.1764 -0.0858)
OKLCHoklch(54.56% 0.196 334.1)
XYZxyz(25.0789, 14.0407, 33.7304)
Luminance0.1404 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF349E #34AF45
analogous
#8334AF #AF349E #AF3460
triadic
#AF349E #9EAF34 #349EAF
tetradic
#AF349E #AF8334 #34AF45 #3460AF
square
#AF349E #AF8334 #34AF45 #3460AF
split-complementary
#AF349E #60AF34 #34AF83
monochromatic
#511849 #802673 #AF349E #CC54BC #DA83CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF349E#FFFFFF#000000##FFFFFF
##AF349E1.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)
#325DA1
Deuteranopia (green-blind)
#5D6F9B
Tritanopia (blue-blind)
#B73E65
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #af349e;
/* rgb */ color: rgb(175, 52, 158);
/* oklch */ color: oklch(54.6% 0.196 334.1);
Tailwind
colors: {
  custom: {
    50: '#ca76bb',
    500: '#af349e',
    950: '#000000',
  },
}
SCSS
$custom: #af349e;
$custom-light: #ca76bb;
$custom-dark: #000000;
JSON
{
  "hex": "#af349e",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 158
  },
  "hsl": {
    "h": 308.293,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54557,
    "c": 0.19615,
    "h": 334.1
  },
  "luminance": 0.14039
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AF349E

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

Preview Lab → · Contrast checker → · Palette generator →

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