#AB2F90#AB2F90

#AB2F90 is a mid, vivid pink. Relative luminance 0.127; OKLCH L 52.8% C 0.190 H 338.1°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#AB2F90
RGBrgb(171, 47, 144)
HSLhsl(313, 57%, 43%)
HSVhsv(313, 73%, 67%)
CMYKcmyk(0%, 72.5%, 15.8%, 32.9%)
CIE-LABlab(42.32, 59.51, -26.07)
CIE-LCHlch(42.32, 64.97, 336.34°)
OKLaboklab(52.78% 0.176 -0.0707)
OKLCHoklch(52.78% 0.19 338.1)
XYZxyz(22.8456, 12.7067, 27.6296)
Luminance0.1270 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2F90 #2FAB4A
analogous
#882FAB #AB2F90 #AB2F52
triadic
#AB2F90 #90AB2F #2F90AB
tetradic
#AB2F90 #AB882F #2FAB4A #2F52AB
square
#AB2F90 #AB882F #2FAB4A #2F52AB
split-complementary
#AB2F90 #52AB2F #2FAB88
monochromatic
#4B153F #7B2268 #AB2F90 #CD4AB1 #DA7AC5

Accessibility & contrast

On white

5.93
#AB2F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#AB2F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2F90
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2F90#FFFFFF#000000##FFFFFF
##AB2F901.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2f90;
/* rgb */ color: rgb(171, 47, 144);
/* oklch */ color: oklch(52.8% 0.190 338.1);
Tailwind
colors: {
  custom: {
    50: '#c873b1',
    500: '#ab2f90',
    950: '#000000',
  },
}
SCSS
$custom: #ab2f90;
$custom-light: #c873b1;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2f90",
  "rgb": {
    "r": 171,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 313.065,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52782,
    "c": 0.1897,
    "h": 338.1
  },
  "luminance": 0.12705
}

Semantic roles & 50–950 ramp

primary
#AB2F90
secondary
#73C384
accent
#E06948
background
#FCF7FA
surface
#F9EDF5
border
#D2C8CF
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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