#AB2A90#AB2A90

#AB2A90 is a mid, vivid pink. Relative luminance 0.123; OKLCH L 52.4% C 0.195 H 338.0°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#AB2A90
RGBrgb(171, 42, 144)
HSLhsl(313, 61%, 42%)
HSVhsv(313, 75%, 67%)
CMYKcmyk(0%, 75.4%, 15.8%, 32.9%)
CIE-LABlab(41.74, 61.16, -26.98)
CIE-LCHlch(41.74, 66.85, 336.20°)
OKLaboklab(52.36% 0.181 -0.0732)
OKLCHoklch(52.36% 0.195 338)
XYZxyz(22.6571, 12.3296, 27.5668)
Luminance0.1233 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2A90 #2AAB45
analogous
#862AAB #AB2A90 #AB2A50
triadic
#AB2A90 #90AB2A #2A90AB
tetradic
#AB2A90 #AB862A #2AAB45 #2A50AB
square
#AB2A90 #AB862A #2AAB45 #2A50AB
split-complementary
#AB2A90 #50AB2A #2AAB86
monochromatic
#49123D #7A1E67 #AB2A90 #D142B3 #DD73C6

Accessibility & contrast

On white

6.06
#AB2A90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#AB2A90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2A90
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2A90#FFFFFF#000000##FFFFFF
##AB2A901.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305693
Deuteranopia (green-blind)
#5C6A8D
Tritanopia (blue-blind)
#B5315A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2a90;
/* rgb */ color: rgb(171, 42, 144);
/* oklch */ color: oklch(52.4% 0.195 338.0);
Tailwind
colors: {
  custom: {
    50: '#c871b1',
    500: '#ab2a90',
    950: '#000000',
  },
}
SCSS
$custom: #ab2a90;
$custom-light: #c871b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2a90",
  "rgb": {
    "r": 171,
    "g": 42,
    "b": 144
  },
  "hsl": {
    "h": 312.558,
    "s": 60.563,
    "l": 41.765
  },
  "oklch": {
    "l": 0.5236,
    "c": 0.19526,
    "h": 338
  },
  "luminance": 0.12327
}

Semantic roles & 50–950 ramp

primary
#AB2A90
secondary
#6DC47F
accent
#E46644
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2A90

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

Preview Lab → · Contrast checker → · Palette generator →

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