#AB258E#AB258E

#AB258E is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.9% C 0.199 H 338.6°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).

Color values

HEX#AB258E
RGBrgb(171, 37, 142)
HSLhsl(313, 64%, 41%)
HSVhsv(313, 78%, 67%)
CMYKcmyk(0%, 78.4%, 17%, 32.9%)
CIE-LABlab(41.11, 62.38, -26.73)
CIE-LCHlch(41.11, 67.87, 336.80°)
OKLaboklab(51.88% 0.1853 -0.0725)
OKLCHoklch(51.88% 0.199 338.6)
XYZxyz(22.3392, 11.9363, 26.7134)
Luminance0.1193 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB258E #25AB42
analogous
#8525AB #AB258E #AB254B
triadic
#AB258E #8EAB25 #258EAB
tetradic
#AB258E #AB8525 #25AB42 #254BAB
square
#AB258E #AB8525 #25AB42 #254BAB
split-complementary
#AB258E #4BAB25 #25AB85
monochromatic
#460F3A #791A64 #AB258E #D439B3 #DF6BC6

Accessibility & contrast

On white

6.20
#AB258E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB258E
6.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB258E#FFFFFF#000000##FFFFFF
##AB258E1.006.203.396.20
#FFFFFF6.201.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5491
Deuteranopia (green-blind)
#5B688B
Tritanopia (blue-blind)
#B52C58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab258e;
/* rgb */ color: rgb(171, 37, 142);
/* oklch */ color: oklch(51.9% 0.199 338.6);
Tailwind
colors: {
  custom: {
    50: '#c86faf',
    500: '#ab258e',
    950: '#000000',
  },
}
SCSS
$custom: #ab258e;
$custom-light: #c86faf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab258e",
  "rgb": {
    "r": 171,
    "g": 37,
    "b": 142
  },
  "hsl": {
    "h": 312.985,
    "s": 64.423,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51882,
    "c": 0.19897,
    "h": 338.6
  },
  "luminance": 0.11934
}

Semantic roles & 50–950 ramp

primary
#AB258E
secondary
#67C57B
accent
#E76540
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB258E

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

Preview Lab → · Contrast checker → · Palette generator →

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