#AB2E90#AB2E90

#AB2E90 is a mid, vivid pink. Relative luminance 0.126; OKLCH L 52.7% C 0.191 H 338.1°. Best body text is #FFFFFF at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#AB2E90
RGBrgb(171, 46, 144)
HSLhsl(313, 58%, 43%)
HSVhsv(313, 73%, 67%)
CMYKcmyk(0%, 73.1%, 15.8%, 32.9%)
CIE-LABlab(42.20, 59.85, -26.26)
CIE-LCHlch(42.20, 65.36, 336.31°)
OKLaboklab(52.69% 0.1771 -0.0712)
OKLCHoklch(52.69% 0.191 338.1)
XYZxyz(22.8061, 12.6277, 27.6164)
Luminance0.1263 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2E90 #2EAB49
analogous
#882EAB #AB2E90 #AB2E51
triadic
#AB2E90 #90AB2E #2E90AB
tetradic
#AB2E90 #AB882E #2EAB49 #2E51AB
square
#AB2E90 #AB882E #2EAB49 #2E51AB
split-complementary
#AB2E90 #51AB2E #2EAB88
monochromatic
#4B143F #7B2167 #AB2E90 #CE48B1 #DB79C6

Accessibility & contrast

On white

5.96
#AB2E90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2E90
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2E90#FFFFFF#000000##FFFFFF
##AB2E901.005.963.535.96
#FFFFFF5.961.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335793
Deuteranopia (green-blind)
#5D6B8D
Tritanopia (blue-blind)
#B5345B
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab2e90;
/* rgb */ color: rgb(171, 46, 144);
/* oklch */ color: oklch(52.7% 0.191 338.1);
Tailwind
colors: {
  custom: {
    50: '#c873b1',
    500: '#ab2e90',
    950: '#000000',
  },
}
SCSS
$custom: #ab2e90;
$custom-light: #c873b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2e90",
  "rgb": {
    "r": 171,
    "g": 46,
    "b": 144
  },
  "hsl": {
    "h": 312.96,
    "s": 57.604,
    "l": 42.549
  },
  "oklch": {
    "l": 0.52694,
    "c": 0.19085,
    "h": 338.1
  },
  "luminance": 0.12626
}

Semantic roles & 50–950 ramp

primary
#AB2E90
secondary
#72C383
accent
#E16847
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2E90

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

Preview Lab → · Contrast checker → · Palette generator →

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