#AB2259#AB2259

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

Color values

HEX#AB2259
RGBrgb(171, 34, 89)
HSLhsl(336, 67%, 40%)
HSVhsv(336, 80%, 67%)
CMYKcmyk(0%, 80.1%, 48%, 32.9%)
CIE-LABlab(38.77, 57.15, 2.80)
CIE-LCHlch(38.77, 57.22, 2.80°)
OKLaboklab(49.51% 0.1754 0.0078)
OKLCHoklch(49.51% 0.176 2.5)
XYZxyz(19.1714, 10.5259, 10.4714)
Luminance0.1052 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2259 #22AB74
analogous
#AB229E #AB2259 #AB2F22
triadic
#AB2259 #59AB22 #2259AB
tetradic
#AB2259 #9EAB22 #22AB74 #2F22AB
square
#AB2259 #9EAB22 #22AB74 #2F22AB
split-complementary
#AB2259 #22AB2F #229EAB
monochromatic
#450E24 #78183E #AB2259 #D73475 #E16798

Accessibility & contrast

On white

6.76
#AB2259 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2259
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2259#FFFFFF#000000##FFFFFF
##AB22591.006.763.106.76
#FFFFFF6.761.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444A5A
Deuteranopia (green-blind)
#696556
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #ab2259;
/* rgb */ color: rgb(171, 34, 89);
/* oklch */ color: oklch(49.5% 0.176 2.5);
Tailwind
colors: {
  custom: {
    50: '#ca6c87',
    500: '#ab2259',
    950: '#000000',
  },
}
SCSS
$custom: #ab2259;
$custom-light: #ca6c87;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2259",
  "rgb": {
    "r": 171,
    "g": 34,
    "b": 89
  },
  "hsl": {
    "h": 335.912,
    "s": 66.829,
    "l": 40.196
  },
  "oklch": {
    "l": 0.4951,
    "c": 0.17553,
    "h": 2.5
  },
  "luminance": 0.10523
}

Semantic roles & 50–950 ramp

primary
#AB2259
secondary
#63C69E
accent
#EAA53E
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14080B
muted
#837A7C

Preview Lab

Preview with #AB2259

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

Preview Lab → · Contrast checker → · Palette generator →

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