#AF3286#AF3286

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

Color values

HEX#AF3286
RGBrgb(175, 50, 134)
HSLhsl(320, 56%, 44%)
HSVhsv(320, 71%, 69%)
CMYKcmyk(0%, 71.4%, 23.4%, 31.4%)
CIE-LABlab(42.94, 58.08, -18.96)
CIE-LCHlch(42.94, 61.09, 341.92°)
OKLaboklab(53.22% 0.1751 -0.0506)
OKLCHoklch(53.22% 0.182 343.9)
XYZxyz(23.1237, 13.1188, 23.8640)
Luminance0.1312 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AF3286 #32AF5B
analogous
#9A32AF #AF3286 #AF3248
triadic
#AF3286 #86AF32 #3286AF
tetradic
#AF3286 #AF9A32 #32AF5B #3248AF
square
#AF3286 #AF9A32 #32AF5B #3248AF
split-complementary
#AF3286 #48AF32 #32AF9A
monochromatic
#50173D #7F2462 #AF3286 #CD51A4 #DB81BD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AF3286#FFFFFF#000000##FFFFFF
##AF32861.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)
#3F5888
Deuteranopia (green-blind)
#656D83
Tritanopia (blue-blind)
#BA3158
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #af3286;
/* rgb */ color: rgb(175, 50, 134);
/* oklch */ color: oklch(53.2% 0.182 343.9);
Tailwind
colors: {
  custom: {
    50: '#cb75a9',
    500: '#af3286',
    950: '#000000',
  },
}
SCSS
$custom: #af3286;
$custom-light: #cb75a9;
$custom-dark: #000000;
JSON
{
  "hex": "#af3286",
  "rgb": {
    "r": 175,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 319.68,
    "s": 55.556,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53221,
    "c": 0.18224,
    "h": 343.9
  },
  "luminance": 0.13116
}

Semantic roles & 50–950 ramp

primary
#AF3286
secondary
#79C491
accent
#DF7A49
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AF3286

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

Preview Lab → · Contrast checker → · Palette generator →

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