#AF349B#AF349B

#AF349B is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.194 H 335.2°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#AF349B
RGBrgb(175, 52, 155)
HSLhsl(310, 54%, 45%)
HSVhsv(310, 70%, 69%)
CMYKcmyk(0%, 70.3%, 11.4%, 31.4%)
CIE-LABlab(44.14, 60.36, -29.81)
CIE-LCHlch(44.14, 67.32, 333.72°)
OKLaboklab(54.4% 0.1761 -0.0813)
OKLCHoklch(54.4% 0.194 335.2)
XYZxyz(24.8239, 13.9386, 32.3870)
Luminance0.1394 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF349B #34AF48
analogous
#8634AF #AF349B #AF345E
triadic
#AF349B #9BAF34 #349BAF
tetradic
#AF349B #AF8634 #34AF48 #345EAF
square
#AF349B #AF8634 #34AF48 #345EAF
split-complementary
#AF349B #5EAF34 #34AF86
monochromatic
#511847 #802671 #AF349B #CC54B9 #DA83CC

Accessibility & contrast

On white

5.54
#AF349B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#AF349B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF349B
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF349B#FFFFFF#000000##FFFFFF
##AF349B1.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#345D9E
Deuteranopia (green-blind)
#5E6F98
Tritanopia (blue-blind)
#B83D63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af349b;
/* rgb */ color: rgb(175, 52, 155);
/* oklch */ color: oklch(54.4% 0.194 335.2);
Tailwind
colors: {
  custom: {
    50: '#ca76b9',
    500: '#af349b',
    950: '#000000',
  },
}
SCSS
$custom: #af349b;
$custom-light: #ca76b9;
$custom-dark: #000000;
JSON
{
  "hex": "#af349b",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 155
  },
  "hsl": {
    "h": 309.756,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54404,
    "c": 0.19396,
    "h": 335.2
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#AF349B
secondary
#7BC487
accent
#DE624A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF349B

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

Preview Lab → · Contrast checker → · Palette generator →

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