#AB255A#AB255A

#AB255A is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.173 H 2.5°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#AB255A
RGBrgb(171, 37, 90)
HSLhsl(336, 64%, 41%)
HSVhsv(336, 78%, 67%)
CMYKcmyk(0%, 78.4%, 47.4%, 32.9%)
CIE-LABlab(39.11, 56.37, 2.65)
CIE-LCHlch(39.11, 56.43, 2.69°)
OKLaboklab(49.77% 0.1729 0.0074)
OKLCHoklch(49.77% 0.173 2.5)
XYZxyz(19.3032, 10.7219, 10.7239)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB255A #25AB76
analogous
#AB259D #AB255A #AB3325
triadic
#AB255A #5AAB25 #255AAB
tetradic
#AB255A #9DAB25 #25AB76 #3325AB
square
#AB255A #9DAB25 #25AB76 #3325AB
split-complementary
#AB255A #25AB33 #259DAB
monochromatic
#460F25 #791A40 #AB255A #D43976 #DF6B99

Accessibility & contrast

On white

6.68
#AB255A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB255A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB255A
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB255A#FFFFFF#000000##FFFFFF
##AB255A1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464C5B
Deuteranopia (green-blind)
#696557
Tritanopia (blue-blind)
#BA013C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab255a;
/* rgb */ color: rgb(171, 37, 90);
/* oklch */ color: oklch(49.8% 0.173 2.5);
Tailwind
colors: {
  custom: {
    50: '#ca6d88',
    500: '#ab255a',
    950: '#000000',
  },
}
SCSS
$custom: #ab255a;
$custom-light: #ca6d88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab255a",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 90
  },
  "hsl": {
    "h": 336.269,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49768,
    "c": 0.17305,
    "h": 2.5
  },
  "luminance": 0.10719
}

Semantic roles & 50–950 ramp

primary
#AB255A
secondary
#67C5A0
accent
#E7A540
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB255A

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

Preview Lab → · Contrast checker → · Palette generator →

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