#AF347E#AF347E

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

Color values

HEX#AF347E
RGBrgb(175, 52, 126)
HSLhsl(324, 54%, 45%)
HSVhsv(324, 70%, 69%)
CMYKcmyk(0%, 70.3%, 28%, 31.4%)
CIE-LABlab(42.88, 56.30, -14.15)
CIE-LCHlch(42.88, 58.05, 345.89°)
OKLaboklab(53.07% 0.1711 -0.0373)
OKLCHoklch(53.07% 0.175 347.7)
XYZxyz(22.6741, 13.0787, 21.0650)
Luminance0.1308 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF347E #34AF65
analogous
#A234AF #AF347E #AF3441
triadic
#AF347E #7EAF34 #347EAF
tetradic
#AF347E #AFA234 #34AF65 #3441AF
square
#AF347E #AFA234 #34AF65 #3441AF
split-complementary
#AF347E #41AF34 #34AFA2
monochromatic
#51183A #80265C #AF347E #CC549C #DA83B8

Accessibility & contrast

On white

5.81
#AF347E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AF347E
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF347E#FFFFFF#000000##FFFFFF
##AF347E1.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#455880
Deuteranopia (green-blind)
#686D7B
Tritanopia (blue-blind)
#BB3054
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af347e;
/* rgb */ color: rgb(175, 52, 126);
/* oklch */ color: oklch(53.1% 0.175 347.7);
Tailwind
colors: {
  custom: {
    50: '#cb75a3',
    500: '#af347e',
    950: '#000000',
  },
}
SCSS
$custom: #af347e;
$custom-light: #cb75a3;
$custom-dark: #000000;
JSON
{
  "hex": "#af347e",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 126
  },
  "hsl": {
    "h": 323.902,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53072,
    "c": 0.17506,
    "h": 347.7
  },
  "luminance": 0.13076
}

Semantic roles & 50–950 ramp

primary
#AF347E
secondary
#7BC498
accent
#DE854A
background
#FCF7FA
surface
#F9EDF3
border
#D2C8CD
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF347E

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

Preview Lab → · Contrast checker → · Palette generator →

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