#AF347A#AF347A

#AF347A is a mid, vivid pink. Relative luminance 0.130; OKLCH L 52.9% C 0.173 H 349.6°. Best body text is #FFFFFF at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#AF347A
RGBrgb(175, 52, 122)
HSLhsl(326, 54%, 45%)
HSVhsv(326, 70%, 69%)
CMYKcmyk(0%, 70.3%, 30.3%, 31.4%)
CIE-LABlab(42.73, 55.80, -11.92)
CIE-LCHlch(42.73, 57.06, 347.94°)
OKLaboklab(52.91% 0.17 -0.0311)
OKLCHoklch(52.91% 0.173 349.6)
XYZxyz(22.4212, 12.9776, 19.7327)
Luminance0.1298 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF347A #34AF69
analogous
#A734AF #AF347A #AF343C
triadic
#AF347A #7AAF34 #347AAF
tetradic
#AF347A #AFA734 #34AF69 #343CAF
square
#AF347A #AFA734 #34AF69 #343CAF
split-complementary
#AF347A #3CAF34 #34AFA7
monochromatic
#511838 #802659 #AF347A #CC5498 #DA83B5

Accessibility & contrast

On white

5.84
#AF347A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#AF347A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF347A
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF347A#FFFFFF#000000##FFFFFF
##AF347A1.005.843.605.84
#FFFFFF5.841.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577C
Deuteranopia (green-blind)
#696D77
Tritanopia (blue-blind)
#BC2E52
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af347a;
/* rgb */ color: rgb(175, 52, 122);
/* oklch */ color: oklch(52.9% 0.173 349.6);
Tailwind
colors: {
  custom: {
    50: '#cb75a0',
    500: '#af347a',
    950: '#000000',
  },
}
SCSS
$custom: #af347a;
$custom-light: #cb75a0;
$custom-dark: #000000;
JSON
{
  "hex": "#af347a",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 122
  },
  "hsl": {
    "h": 325.854,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5291,
    "c": 0.17287,
    "h": 349.6
  },
  "luminance": 0.12975
}

Semantic roles & 50–950 ramp

primary
#AF347A
secondary
#7BC49A
accent
#DE8A4A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090E
muted
#837B7E

Preview Lab

Preview with #AF347A

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

Preview Lab → · Contrast checker → · Palette generator →

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