#AB258D#AB258D

#AB258D is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.8% C 0.198 H 339.0°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB258D
RGBrgb(171, 37, 141)
HSLhsl(313, 64%, 41%)
HSVhsv(313, 78%, 67%)
CMYKcmyk(0%, 78.4%, 17.5%, 32.9%)
CIE-LABlab(41.07, 62.24, -26.20)
CIE-LCHlch(41.07, 67.53, 337.18°)
OKLaboklab(51.83% 0.1852 -0.071)
OKLCHoklch(51.83% 0.198 339)
XYZxyz(22.2645, 11.9064, 26.3197)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB258D #25AB43
analogous
#8625AB #AB258D #AB254A
triadic
#AB258D #8DAB25 #258DAB
tetradic
#AB258D #AB8625 #25AB43 #254AAB
square
#AB258D #AB8625 #25AB43 #254AAB
split-complementary
#AB258D #4AAB25 #25AB86
monochromatic
#460F3A #791A64 #AB258D #D439B1 #DF6BC5

Accessibility & contrast

On white

6.21
#AB258D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#AB258D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB258D
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB258D#FFFFFF#000000##FFFFFF
##AB258D1.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5490
Deuteranopia (green-blind)
#5B688A
Tritanopia (blue-blind)
#B52B57
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab258d;
/* rgb */ color: rgb(171, 37, 141);
/* oklch */ color: oklch(51.8% 0.198 339.0);
Tailwind
colors: {
  custom: {
    50: '#c86fae',
    500: '#ab258d',
    950: '#000000',
  },
}
SCSS
$custom: #ab258d;
$custom-light: #c86fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab258d",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 141
  },
  "hsl": {
    "h": 313.433,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51832,
    "c": 0.19832,
    "h": 339
  },
  "luminance": 0.11904
}

Semantic roles & 50–950 ramp

primary
#AB258D
secondary
#67C57C
accent
#E76640
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB258D

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

Preview Lab → · Contrast checker → · Palette generator →

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