#AF3285#AF3285

#AF3285 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.182 H 344.3°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#AF3285
RGBrgb(175, 50, 133)
HSLhsl(320, 56%, 44%)
HSVhsv(320, 71%, 69%)
CMYKcmyk(0%, 71.4%, 24%, 31.4%)
CIE-LABlab(42.90, 57.94, -18.41)
CIE-LCHlch(42.90, 60.80, 342.37°)
OKLaboklab(53.18% 0.1749 -0.0491)
OKLCHoklch(53.18% 0.182 344.3)
XYZxyz(23.0543, 13.0910, 23.4984)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3285 #32AF5C
analogous
#9B32AF #AF3285 #AF3247
triadic
#AF3285 #85AF32 #3285AF
tetradic
#AF3285 #AF9B32 #32AF5C #3247AF
square
#AF3285 #AF9B32 #32AF5C #3247AF
split-complementary
#AF3285 #47AF32 #32AF9B
monochromatic
#50173D #7F2461 #AF3285 #CD51A3 #DB81BD

Accessibility & contrast

On white

5.80
#AF3285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#AF3285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AF3285
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AF3285#FFFFFF#000000##FFFFFF
##AF32851.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405887
Deuteranopia (green-blind)
#656D82
Tritanopia (blue-blind)
#BA3157
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3285;
/* rgb */ color: rgb(175, 50, 133);
/* oklch */ color: oklch(53.2% 0.182 344.3);
Tailwind
colors: {
  custom: {
    50: '#cb75a8',
    500: '#af3285',
    950: '#000000',
  },
}
SCSS
$custom: #af3285;
$custom-light: #cb75a8;
$custom-dark: #000000;
JSON
{
  "hex": "#af3285",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 320.16,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53177,
    "c": 0.18162,
    "h": 344.3
  },
  "luminance": 0.13089
}

Semantic roles & 50–950 ramp

primary
#AF3285
secondary
#79C492
accent
#DF7B49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AF3285

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

Preview Lab → · Contrast checker → · Palette generator →

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