#AF347F#AF347F

#AF347F is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.176 H 347.2°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF347F
RGBrgb(175, 52, 127)
HSLhsl(323, 54%, 45%)
HSVhsv(323, 70%, 69%)
CMYKcmyk(0%, 70.3%, 27.4%, 31.4%)
CIE-LABlab(42.92, 56.43, -14.71)
CIE-LCHlch(42.92, 58.31, 345.39°)
OKLaboklab(53.11% 0.1713 -0.0388)
OKLCHoklch(53.11% 0.176 347.2)
XYZxyz(22.7390, 13.1047, 21.4065)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF347F #34AF64
analogous
#A234AF #AF347F #AF3441
triadic
#AF347F #7FAF34 #347FAF
tetradic
#AF347F #AFA234 #34AF64 #3441AF
square
#AF347F #AFA234 #34AF64 #3441AF
split-complementary
#AF347F #41AF34 #34AFA2
monochromatic
#51183B #80265D #AF347F #CC549D #DA83B8

Accessibility & contrast

On white

5.80
#AF347F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF347F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF347F
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF347F#FFFFFF#000000##FFFFFF
##AF347F1.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#686D7C
Tritanopia (blue-blind)
#BB3055
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af347f;
/* rgb */ color: rgb(175, 52, 127);
/* oklch */ color: oklch(53.1% 0.176 347.2);
Tailwind
colors: {
  custom: {
    50: '#cb75a4',
    500: '#af347f',
    950: '#000000',
  },
}
SCSS
$custom: #af347f;
$custom-light: #cb75a4;
$custom-dark: #000000;
JSON
{
  "hex": "#af347f",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 127
  },
  "hsl": {
    "h": 323.415,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53113,
    "c": 0.17562,
    "h": 347.2
  },
  "luminance": 0.13102
}

Semantic roles & 50–950 ramp

primary
#AF347F
secondary
#7BC497
accent
#DE844A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF347F

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

Preview Lab → · Contrast checker → · Palette generator →

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