#AF348A#AF348A

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

Color values

HEX#AF348A
RGBrgb(175, 52, 138)
HSLhsl(318, 54%, 45%)
HSVhsv(318, 70%, 69%)
CMYKcmyk(0%, 70.3%, 21.1%, 31.4%)
CIE-LABlab(43.37, 57.89, -20.74)
CIE-LCHlch(43.37, 61.49, 340.29°)
OKLaboklab(53.59% 0.1736 -0.0556)
OKLCHoklch(53.59% 0.182 342.2)
XYZxyz(23.4954, 13.4072, 25.3903)
Luminance0.1341 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF348A #34AF59
analogous
#9734AF #AF348A #AF344C
triadic
#AF348A #8AAF34 #348AAF
tetradic
#AF348A #AF9734 #34AF59 #344CAF
square
#AF348A #AF9734 #34AF59 #344CAF
split-complementary
#AF348A #4CAF34 #34AF97
monochromatic
#511840 #802665 #AF348A #CC54A8 #DA83C0

Accessibility & contrast

On white

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

On black

3.68
#AF348A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##AF348A#FFFFFF#000000##FFFFFF
##AF348A1.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F5A8C
Deuteranopia (green-blind)
#656E87
Tritanopia (blue-blind)
#BA355A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af348a;
/* rgb */ color: rgb(175, 52, 138);
/* oklch */ color: oklch(53.6% 0.182 342.2);
Tailwind
colors: {
  custom: {
    50: '#cb76ac',
    500: '#af348a',
    950: '#000000',
  },
}
SCSS
$custom: #af348a;
$custom-light: #cb76ac;
$custom-dark: #000000;
JSON
{
  "hex": "#af348a",
  "rgb": {
    "r": 175,
    "g": 52,
    "b": 138
  },
  "hsl": {
    "h": 318.049,
    "s": 54.185,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53589,
    "c": 0.1823,
    "h": 342.2
  },
  "luminance": 0.13405
}

Semantic roles & 50–950 ramp

primary
#AF348A
secondary
#7BC491
accent
#DE774A
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF348A

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

Preview Lab → · Contrast checker → · Palette generator →

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