#AF349A#AF349A

#AF349A is a mid, vivid pink. Relative luminance 0.139; OKLCH L 54.4% C 0.193 H 335.6°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#AF349A
RGBrgb(175, 52, 154)
HSLhsl(310, 54%, 45%)
HSVhsv(310, 70%, 69%)
CMYKcmyk(0%, 70.3%, 12%, 31.4%)
CIE-LABlab(44.10, 60.21, -29.28)
CIE-LCHlch(44.10, 66.95, 334.06°)
OKLaboklab(54.35% 0.176 -0.0798)
OKLCHoklch(54.35% 0.193 335.6)
XYZxyz(24.7402, 13.9052, 31.9466)
Luminance0.1390 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF349A #34AF49
analogous
#8734AF #AF349A #AF345D
triadic
#AF349A #9AAF34 #349AAF
tetradic
#AF349A #AF8734 #34AF49 #345DAF
square
#AF349A #AF8734 #34AF49 #345DAF
split-complementary
#AF349A #5DAF34 #34AF87
monochromatic
#511847 #802670 #AF349A #CC54B8 #DA83CB

Accessibility & contrast

On white

5.55
#AF349A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#AF349A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF349A
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF349A#FFFFFF#000000##FFFFFF
##AF349A1.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355C9D
Deuteranopia (green-blind)
#5F6F97
Tritanopia (blue-blind)
#B83D63
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #af349a;
/* rgb */ color: rgb(175, 52, 154);
/* oklch */ color: oklch(54.4% 0.193 335.6);
Tailwind
colors: {
  custom: {
    50: '#ca76b8',
    500: '#af349a',
    950: '#000000',
  },
}
SCSS
$custom: #af349a;
$custom-light: #ca76b8;
$custom-dark: #000000;
JSON
{
  "hex": "#af349a",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 154
  },
  "hsl": {
    "h": 310.244,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.54353,
    "c": 0.19323,
    "h": 335.6
  },
  "luminance": 0.13903
}

Semantic roles & 50–950 ramp

primary
#AF349A
secondary
#7BC488
accent
#DE634A
background
#FCF7FB
surface
#F9EEF6
border
#D2C9D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AF349A

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

Preview Lab → · Contrast checker → · Palette generator →

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