#AF347B#AF347B

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

Color values

HEX#AF347B
RGBrgb(175, 52, 123)
HSLhsl(325, 54%, 45%)
HSVhsv(325, 70%, 69%)
CMYKcmyk(0%, 70.3%, 29.7%, 31.4%)
CIE-LABlab(42.77, 55.92, -12.48)
CIE-LCHlch(42.77, 57.30, 347.42°)
OKLaboklab(52.95% 0.1703 -0.0327)
OKLCHoklch(52.95% 0.173 349.1)
XYZxyz(22.4834, 13.0025, 20.0607)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF347B #34AF68
analogous
#A634AF #AF347B #AF343D
triadic
#AF347B #7BAF34 #347BAF
tetradic
#AF347B #AFA634 #34AF68 #343DAF
square
#AF347B #AFA634 #34AF68 #343DAF
split-complementary
#AF347B #3DAF34 #34AFA6
monochromatic
#511839 #80265A #AF347B #CC5499 #DA83B5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF347B#FFFFFF#000000##FFFFFF
##AF347B1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46577D
Deuteranopia (green-blind)
#696D78
Tritanopia (blue-blind)
#BC2E53
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af347b;
/* rgb */ color: rgb(175, 52, 123);
/* oklch */ color: oklch(52.9% 0.173 349.1);
Tailwind
colors: {
  custom: {
    50: '#cb75a1',
    500: '#af347b',
    950: '#000000',
  },
}
SCSS
$custom: #af347b;
$custom-light: #cb75a1;
$custom-dark: #000000;
JSON
{
  "hex": "#af347b",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 123
  },
  "hsl": {
    "h": 325.366,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.5295,
    "c": 0.17341,
    "h": 349.1
  },
  "luminance": 0.13
}

Semantic roles & 50–950 ramp

primary
#AF347B
secondary
#7BC49A
accent
#DE894A
background
#FDF7F9
surface
#FAEDF2
border
#D3C8CC
text
#14090F
muted
#837B7E

Preview Lab

Preview with #AF347B

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

Preview Lab → · Contrast checker → · Palette generator →

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