#AF347D#AF347D

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

Color values

HEX#AF347D
RGBrgb(175, 52, 125)
HSLhsl(324, 54%, 45%)
HSVhsv(324, 70%, 69%)
CMYKcmyk(0%, 70.3%, 28.6%, 31.4%)
CIE-LABlab(42.84, 56.17, -13.60)
CIE-LCHlch(42.84, 57.79, 346.39°)
OKLaboklab(53.03% 0.1708 -0.0357)
OKLCHoklch(53.03% 0.175 348.2)
XYZxyz(22.6099, 13.0531, 20.7268)
Luminance0.1305 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF347D #34AF66
analogous
#A434AF #AF347D #AF3440
triadic
#AF347D #7DAF34 #347DAF
tetradic
#AF347D #AFA434 #34AF66 #3440AF
square
#AF347D #AFA434 #34AF66 #3440AF
split-complementary
#AF347D #40AF34 #34AFA4
monochromatic
#51183A #80265B #AF347D #CC549B #DA83B7

Accessibility & contrast

On white

5.82
#AF347D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF347D
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF347D#FFFFFF#000000##FFFFFF
##AF347D1.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577F
Deuteranopia (green-blind)
#696D7A
Tritanopia (blue-blind)
#BB2F54
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af347d;
/* rgb */ color: rgb(175, 52, 125);
/* oklch */ color: oklch(53.0% 0.174 348.2);
Tailwind
colors: {
  custom: {
    50: '#cb75a2',
    500: '#af347d',
    950: '#000000',
  },
}
SCSS
$custom: #af347d;
$custom-light: #cb75a2;
$custom-dark: #000000;
JSON
{
  "hex": "#af347d",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 125
  },
  "hsl": {
    "h": 324.39,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53031,
    "c": 0.1745,
    "h": 348.2
  },
  "luminance": 0.13051
}

Semantic roles & 50–950 ramp

primary
#AF347D
secondary
#7BC499
accent
#DE864A
background
#FDF7FA
surface
#FAEDF3
border
#D3C8CD
text
#14090F
muted
#837B7F

Preview Lab

Preview with #AF347D

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

Preview Lab → · Contrast checker → · Palette generator →

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