#AB215A#AB215A

#AB215A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.5% C 0.177 H 1.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#AB215A
RGBrgb(171, 33, 90)
HSLhsl(335, 68%, 40%)
HSVhsv(335, 81%, 67%)
CMYKcmyk(0%, 80.7%, 47.4%, 32.9%)
CIE-LABlab(38.70, 57.52, 2.06)
CIE-LCHlch(38.70, 57.56, 2.06°)
OKLaboklab(49.47% 0.1766 0.0059)
OKLCHoklch(49.47% 0.177 1.9)
XYZxyz(19.1855, 10.4865, 10.6847)
Luminance0.1048 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB215A #21AB72
analogous
#AB219F #AB215A #AB2D21
triadic
#AB215A #5AAB21 #215AAB
tetradic
#AB215A #9FAB21 #21AB72 #2D21AB
square
#AB215A #9FAB21 #21AB72 #2D21AB
split-complementary
#AB215A #21AB2D #219FAB
monochromatic
#440D24 #78173F #AB215A #D73276 #E16598

Accessibility & contrast

On white

6.78
#AB215A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#AB215A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB215A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB215A#FFFFFF#000000##FFFFFF
##AB215A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5B
Deuteranopia (green-blind)
#686557
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab215a;
/* rgb */ color: rgb(171, 33, 90);
/* oklch */ color: oklch(49.5% 0.177 1.9);
Tailwind
colors: {
  custom: {
    50: '#ca6c88',
    500: '#ab215a',
    950: '#000000',
  },
}
SCSS
$custom: #ab215a;
$custom-light: #ca6c88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab215a",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 90
  },
  "hsl": {
    "h": 335.217,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49469,
    "c": 0.17671,
    "h": 1.9
  },
  "luminance": 0.10484
}

Semantic roles & 50–950 ramp

primary
#AB215A
secondary
#61C79D
accent
#EBA33D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB215A

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

Preview Lab → · Contrast checker → · Palette generator →

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