#AB2154#AB2154

#AB2154 is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.3% C 0.175 H 4.9°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#AB2154
RGBrgb(171, 33, 84)
HSLhsl(338, 68%, 40%)
HSVhsv(338, 81%, 67%)
CMYKcmyk(0%, 80.7%, 50.9%, 32.9%)
CIE-LABlab(38.53, 57.00, 5.65)
CIE-LCHlch(38.53, 57.28, 5.66°)
OKLaboklab(49.29% 0.1745 0.0149)
OKLCHoklch(49.29% 0.175 4.9)
XYZxyz(18.9404, 10.3884, 9.3936)
Luminance0.1039 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2154 #21AB78
analogous
#AB2199 #AB2154 #AB3321
triadic
#AB2154 #54AB21 #2154AB
tetradic
#AB2154 #99AB21 #21AB78 #3321AB
square
#AB2154 #99AB21 #21AB78 #3321AB
split-complementary
#AB2154 #21AB33 #2199AB
monochromatic
#440D22 #78173B #AB2154 #D7326F #E16593

Accessibility & contrast

On white

6.82
#AB2154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#AB2154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2154
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2154#FFFFFF#000000##FFFFFF
##AB21541.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454955
Deuteranopia (green-blind)
#696451
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2154;
/* rgb */ color: rgb(171, 33, 84);
/* oklch */ color: oklch(49.3% 0.175 4.9);
Tailwind
colors: {
  custom: {
    50: '#ca6c83',
    500: '#ab2154',
    950: '#000000',
  },
}
SCSS
$custom: #ab2154;
$custom-light: #ca6c83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2154",
  "rgb": {
    "r": 171,
    "g": 33,
    "b": 84
  },
  "hsl": {
    "h": 337.826,
    "s": 67.647,
    "l": 40
  },
  "oklch": {
    "l": 0.49288,
    "c": 0.17509,
    "h": 4.9
  },
  "luminance": 0.10386
}

Semantic roles & 50–950 ramp

primary
#AB2154
secondary
#61C7A1
accent
#EBAA3D
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080A
muted
#837A7C

Preview Lab

Preview with #AB2154

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

Preview Lab → · Contrast checker → · Palette generator →

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