#AF3284#AF3284

#AF3284 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.1% C 0.181 H 344.8°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#AF3284
RGBrgb(175, 50, 132)
HSLhsl(321, 56%, 44%)
HSVhsv(321, 71%, 69%)
CMYKcmyk(0%, 71.4%, 24.6%, 31.4%)
CIE-LABlab(42.86, 57.81, -17.87)
CIE-LCHlch(42.86, 60.51, 342.83°)
OKLaboklab(53.13% 0.1747 -0.0475)
OKLCHoklch(53.13% 0.181 344.8)
XYZxyz(22.9856, 13.0635, 23.1363)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3284 #32AF5D
analogous
#9C32AF #AF3284 #AF3246
triadic
#AF3284 #84AF32 #3284AF
tetradic
#AF3284 #AF9C32 #32AF5D #3246AF
square
#AF3284 #AF9C32 #32AF5D #3246AF
split-complementary
#AF3284 #46AF32 #32AF9C
monochromatic
#50173C #7F2460 #AF3284 #CD51A2 #DB81BC

Accessibility & contrast

On white

5.81
#AF3284 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#AF3284 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3284
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3284#FFFFFF#000000##FFFFFF
##AF32841.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405886
Deuteranopia (green-blind)
#666D81
Tritanopia (blue-blind)
#BB3157
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3284;
/* rgb */ color: rgb(175, 50, 132);
/* oklch */ color: oklch(53.1% 0.181 344.8);
Tailwind
colors: {
  custom: {
    50: '#cb75a8',
    500: '#af3284',
    950: '#000000',
  },
}
SCSS
$custom: #af3284;
$custom-light: #cb75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3284",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 132
  },
  "hsl": {
    "h": 320.64,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53133,
    "c": 0.18101,
    "h": 344.8
  },
  "luminance": 0.13061
}

Semantic roles & 50–950 ramp

primary
#AF3284
secondary
#79C493
accent
#DF7D49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3284

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

Preview Lab → · Contrast checker → · Palette generator →

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