#AB3295#AB3295

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

Color values

HEX#AB3295
RGBrgb(171, 50, 149)
HSLhsl(311, 55%, 43%)
HSVhsv(311, 71%, 67%)
CMYKcmyk(0%, 70.8%, 12.9%, 32.9%)
CIE-LABlab(42.93, 59.19, -28.14)
CIE-LCHlch(42.93, 65.54, 334.57°)
OKLaboklab(53.3% 0.1735 -0.0766)
OKLCHoklch(53.3% 0.19 336.2)
XYZxyz(23.3603, 13.1111, 29.7283)
Luminance0.1311 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3295 #32AB48
analogous
#8432AB #AB3295 #AB3258
triadic
#AB3295 #95AB32 #3295AB
tetradic
#AB3295 #AB8432 #32AB48 #3258AB
square
#AB3295 #AB8432 #32AB48 #3258AB
split-complementary
#AB3295 #58AB32 #32AB84
monochromatic
#4C1642 #7C246C #AB3295 #CB4FB5 #D97EC9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3295#FFFFFF#000000##FFFFFF
##AB32951.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)
#345A98
Deuteranopia (green-blind)
#5D6C92
Tritanopia (blue-blind)
#B43A5F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3295;
/* rgb */ color: rgb(171, 50, 149);
/* oklch */ color: oklch(53.3% 0.190 336.2);
Tailwind
colors: {
  custom: {
    50: '#c875b4',
    500: '#ab3295',
    950: '#000000',
  },
}
SCSS
$custom: #ab3295;
$custom-light: #c875b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3295",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 149
  },
  "hsl": {
    "h": 310.909,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.53302,
    "c": 0.18965,
    "h": 336.2
  },
  "luminance": 0.13109
}

Semantic roles & 50–950 ramp

primary
#AB3295
secondary
#77C284
accent
#DE654A
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3295

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

Preview Lab → · Contrast checker → · Palette generator →

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