#AF328E#AF328E

#AF328E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.187 H 340.4°. Best body text is #FFFFFF at 5.72:1 contrast (WCAG AA passes).

Color values

HEX#AF328E
RGBrgb(175, 50, 142)
HSLhsl(316, 56%, 44%)
HSVhsv(316, 71%, 69%)
CMYKcmyk(0%, 71.4%, 18.9%, 31.4%)
CIE-LABlab(43.29, 59.17, -23.30)
CIE-LCHlch(43.29, 63.60, 338.51°)
OKLaboklab(53.59% 0.1765 -0.0628)
OKLCHoklch(53.59% 0.187 340.4)
XYZxyz(23.7029, 13.3505, 26.9145)
Luminance0.1335 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF328E #32AF53
analogous
#9232AF #AF328E #AF3250
triadic
#AF328E #8EAF32 #328EAF
tetradic
#AF328E #AF9232 #32AF53 #3250AF
square
#AF328E #AF9232 #32AF53 #3250AF
split-complementary
#AF328E #50AF32 #32AF92
monochromatic
#501741 #7F2467 #AF328E #CD51AC #DB81C3

Accessibility & contrast

On white

5.72
#AF328E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#AF328E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF328E
5.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF328E#FFFFFF#000000##FFFFFF
##AF328E1.005.723.675.72
#FFFFFF5.721.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5991
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#B9355C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #af328e;
/* rgb */ color: rgb(175, 50, 142);
/* oklch */ color: oklch(53.6% 0.187 340.4);
Tailwind
colors: {
  custom: {
    50: '#cb75af',
    500: '#af328e',
    950: '#000000',
  },
}
SCSS
$custom: #af328e;
$custom-light: #cb75af;
$custom-dark: #000000;
JSON
{
  "hex": "#af328e",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 142
  },
  "hsl": {
    "h": 315.84,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53585,
    "c": 0.18735,
    "h": 340.4
  },
  "luminance": 0.13348
}

Semantic roles & 50–950 ramp

primary
#AF328E
secondary
#79C48D
accent
#DF7149
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF328E

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

Preview Lab → · Contrast checker → · Palette generator →

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