#AB258F#AB258F

#AB258F is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.9% C 0.200 H 338.2°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#AB258F
RGBrgb(171, 37, 143)
HSLhsl(313, 64%, 41%)
HSVhsv(313, 78%, 67%)
CMYKcmyk(0%, 78.4%, 16.4%, 32.9%)
CIE-LABlab(41.16, 62.52, -27.27)
CIE-LCHlch(41.16, 68.21, 336.44°)
OKLaboklab(51.93% 0.1854 -0.074)
OKLCHoklch(51.93% 0.2 338.2)
XYZxyz(22.4146, 11.9664, 27.1106)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB258F #25AB41
analogous
#8425AB #AB258F #AB254C
triadic
#AB258F #8FAB25 #258FAB
tetradic
#AB258F #AB8425 #25AB41 #254CAB
square
#AB258F #AB8425 #25AB41 #254CAB
split-complementary
#AB258F #4CAB25 #25AB84
monochromatic
#460F3B #791A65 #AB258F #D439B4 #DF6BC7

Accessibility & contrast

On white

6.19
#AB258F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#AB258F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB258F
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB258F#FFFFFF#000000##FFFFFF
##AB258F1.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5492
Deuteranopia (green-blind)
#5A688C
Tritanopia (blue-blind)
#B52D58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab258f;
/* rgb */ color: rgb(171, 37, 143);
/* oklch */ color: oklch(51.9% 0.200 338.2);
Tailwind
colors: {
  custom: {
    50: '#c86fb0',
    500: '#ab258f',
    950: '#000000',
  },
}
SCSS
$custom: #ab258f;
$custom-light: #c86fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab258f",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 143
  },
  "hsl": {
    "h": 312.537,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51932,
    "c": 0.19963,
    "h": 338.2
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#AB258F
secondary
#67C57A
accent
#E76340
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB258F

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

Preview Lab → · Contrast checker → · Palette generator →

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