#AF347C#AF347C

#AF347C is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.0% C 0.174 H 348.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#AF347C
RGBrgb(175, 52, 124)
HSLhsl(325, 54%, 45%)
HSVhsv(325, 70%, 69%)
CMYKcmyk(0%, 70.3%, 29.1%, 31.4%)
CIE-LABlab(42.80, 56.05, -13.04)
CIE-LCHlch(42.80, 57.54, 346.90°)
OKLaboklab(52.99% 0.1706 -0.0342)
OKLCHoklch(52.99% 0.174 348.7)
XYZxyz(22.5464, 13.0276, 20.3921)
Luminance0.1303 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF347C #34AF67
analogous
#A534AF #AF347C #AF343F
triadic
#AF347C #7CAF34 #347CAF
tetradic
#AF347C #AFA534 #34AF67 #343FAF
square
#AF347C #AFA534 #34AF67 #343FAF
split-complementary
#AF347C #3FAF34 #34AFA5
monochromatic
#511839 #80265B #AF347C #CC549A #DA83B6

Accessibility & contrast

On white

5.83
#AF347C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF347C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF347C
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF347C#FFFFFF#000000##FFFFFF
##AF347C1.005.833.615.83
#FFFFFF5.831.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#696D79
Tritanopia (blue-blind)
#BB2F53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af347c;
/* rgb */ color: rgb(175, 52, 124);
/* oklch */ color: oklch(53.0% 0.174 348.7);
Tailwind
colors: {
  custom: {
    50: '#cb75a2',
    500: '#af347c',
    950: '#000000',
  },
}
SCSS
$custom: #af347c;
$custom-light: #cb75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af347c",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 124
  },
  "hsl": {
    "h": 324.878,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5299,
    "c": 0.17395,
    "h": 348.7
  },
  "luminance": 0.13025
}

Semantic roles & 50–950 ramp

primary
#AF347C
secondary
#7BC499
accent
#DE874A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #AF347C

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

Preview Lab → · Contrast checker → · Palette generator →

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