#AF348B#AF348B

#AF348B is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.183 H 341.8°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#AF348B
RGBrgb(175, 52, 139)
HSLhsl(318, 54%, 45%)
HSVhsv(318, 70%, 69%)
CMYKcmyk(0%, 70.3%, 20.6%, 31.4%)
CIE-LABlab(43.41, 58.03, -21.28)
CIE-LCHlch(43.41, 61.81, 339.86°)
OKLaboklab(53.63% 0.1738 -0.0571)
OKLCHoklch(53.63% 0.183 341.8)
XYZxyz(23.5681, 13.4363, 25.7734)
Luminance0.1343 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF348B #34AF58
analogous
#9634AF #AF348B #AF344E
triadic
#AF348B #8BAF34 #348BAF
tetradic
#AF348B #AF9634 #34AF58 #344EAF
square
#AF348B #AF9634 #34AF58 #344EAF
split-complementary
#AF348B #4EAF34 #34AF96
monochromatic
#511840 #802666 #AF348B #CC54A9 #DA83C1

Accessibility & contrast

On white

5.70
#AF348B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AF348B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF348B
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF348B#FFFFFF#000000##FFFFFF
##AF348B1.005.703.695.70
#FFFFFF5.701.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5A8D
Deuteranopia (green-blind)
#646E88
Tritanopia (blue-blind)
#BA365B
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #af348b;
/* rgb */ color: rgb(175, 52, 139);
/* oklch */ color: oklch(53.6% 0.183 341.8);
Tailwind
colors: {
  custom: {
    50: '#cb76ad',
    500: '#af348b',
    950: '#000000',
  },
}
SCSS
$custom: #af348b;
$custom-light: #cb76ad;
$custom-dark: #000000;
JSON
{
  "hex": "#af348b",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 139
  },
  "hsl": {
    "h": 317.561,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53634,
    "c": 0.18294,
    "h": 341.8
  },
  "luminance": 0.13434
}

Semantic roles & 50–950 ramp

primary
#AF348B
secondary
#7BC490
accent
#DE754A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF348B

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

Preview Lab → · Contrast checker → · Palette generator →

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