#AB2558#AB2558

#AB2558 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.172 H 3.5°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#AB2558
RGBrgb(171, 37, 88)
HSLhsl(337, 64%, 41%)
HSVhsv(337, 78%, 67%)
CMYKcmyk(0%, 78.4%, 48.5%, 32.9%)
CIE-LABlab(39.05, 56.19, 3.84)
CIE-LCHlch(39.05, 56.32, 3.91°)
OKLaboklab(49.71% 0.1722 0.0104)
OKLCHoklch(49.71% 0.172 3.5)
XYZxyz(19.2192, 10.6883, 10.2816)
Luminance0.1069 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2558 #25AB78
analogous
#AB259B #AB2558 #AB3525
triadic
#AB2558 #58AB25 #2558AB
tetradic
#AB2558 #9BAB25 #25AB78 #3525AB
square
#AB2558 #9BAB25 #25AB78 #3525AB
split-complementary
#AB2558 #25AB35 #259BAB
monochromatic
#460F24 #791A3E #AB2558 #D43974 #DF6B97

Accessibility & contrast

On white

6.69
#AB2558 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2558
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2558#FFFFFF#000000##FFFFFF
##AB25581.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464B59
Deuteranopia (green-blind)
#6A6555
Tritanopia (blue-blind)
#BA003B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2558;
/* rgb */ color: rgb(171, 37, 88);
/* oklch */ color: oklch(49.7% 0.172 3.5);
Tailwind
colors: {
  custom: {
    50: '#ca6d86',
    500: '#ab2558',
    950: '#000000',
  },
}
SCSS
$custom: #ab2558;
$custom-light: #ca6d86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2558",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 88
  },
  "hsl": {
    "h": 337.164,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.49706,
    "c": 0.17249,
    "h": 3.5
  },
  "luminance": 0.10686
}

Semantic roles & 50–950 ramp

primary
#AB2558
secondary
#67C5A1
accent
#E7A840
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2558

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

Preview Lab → · Contrast checker → · Palette generator →

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