#AB3285#AB3285

#AB3285 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.5% C 0.179 H 343.0°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#AB3285
RGBrgb(171, 50, 133)
HSLhsl(319, 55%, 43%)
HSVhsv(319, 71%, 67%)
CMYKcmyk(0%, 70.8%, 22.2%, 32.9%)
CIE-LABlab(42.21, 56.89, -19.54)
CIE-LCHlch(42.21, 60.15, 341.05°)
OKLaboklab(52.54% 0.171 -0.0523)
OKLCHoklch(52.54% 0.179 343)
XYZxyz(22.1696, 12.6348, 23.4570)
Luminance0.1263 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3285 #32AB58
analogous
#9432AB #AB3285 #AB3248
triadic
#AB3285 #85AB32 #3285AB
tetradic
#AB3285 #AB9432 #32AB58 #3248AB
square
#AB3285 #AB9432 #32AB58 #3248AB
split-complementary
#AB3285 #48AB32 #32AB94
monochromatic
#4C163B #7C2460 #AB3285 #CB4FA4 #D97EBD

Accessibility & contrast

On white

5.95
#AB3285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#AB3285 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3285
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3285#FFFFFF#000000##FFFFFF
##AB32851.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5787
Deuteranopia (green-blind)
#636B82
Tritanopia (blue-blind)
#B63257
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab3285;
/* rgb */ color: rgb(171, 50, 133);
/* oklch */ color: oklch(52.5% 0.179 343.0);
Tailwind
colors: {
  custom: {
    50: '#c874a8',
    500: '#ab3285',
    950: '#000000',
  },
}
SCSS
$custom: #ab3285;
$custom-light: #c874a8;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3285",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 318.843,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52541,
    "c": 0.17882,
    "h": 343
  },
  "luminance": 0.12633
}

Semantic roles & 50–950 ramp

primary
#AB3285
secondary
#77C28E
accent
#DE784A
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB3285

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

Preview Lab → · Contrast checker → · Palette generator →

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