#AB215B#AB215B

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

Color values

HEX#AB215B
RGBrgb(171, 33, 91)
HSLhsl(335, 68%, 40%)
HSVhsv(335, 81%, 67%)
CMYKcmyk(0%, 80.7%, 46.8%, 32.9%)
CIE-LABlab(38.73, 57.61, 1.47)
CIE-LCHlch(38.73, 57.63, 1.46°)
OKLaboklab(49.5% 0.177 0.0044)
OKLCHoklch(49.5% 0.177 1.4)
XYZxyz(19.2284, 10.5036, 10.9104)
Luminance0.1050 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB215B #21AB71
analogous
#AB21A0 #AB215B #AB2C21
triadic
#AB215B #5BAB21 #215BAB
tetradic
#AB215B #A0AB21 #21AB71 #2C21AB
square
#AB215B #A0AB21 #21AB71 #2C21AB
split-complementary
#AB215B #21AB2C #21A0AB
monochromatic
#440D24 #781740 #AB215B #D73277 #E16599

Accessibility & contrast

On white

6.77
#AB215B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB215B
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB215B#FFFFFF#000000##FFFFFF
##AB215B1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434A5C
Deuteranopia (green-blind)
#686558
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab215b;
/* rgb */ color: rgb(171, 33, 91);
/* oklch */ color: oklch(49.5% 0.177 1.4);
Tailwind
colors: {
  custom: {
    50: '#ca6c89',
    500: '#ab215b',
    950: '#000000',
  },
}
SCSS
$custom: #ab215b;
$custom-light: #ca6c89;
$custom-dark: #000000;
JSON
{
  "hex": "#ab215b",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 91
  },
  "hsl": {
    "h": 334.783,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49501,
    "c": 0.177,
    "h": 1.4
  },
  "luminance": 0.10501
}

Semantic roles & 50–950 ramp

primary
#AB215B
secondary
#61C79C
accent
#EBA23D
background
#FDF6F8
surface
#FAECF0
border
#D3C7CB
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB215B

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

Preview Lab → · Contrast checker → · Palette generator →

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