#AB248B#AB248B

#AB248B is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.7% C 0.198 H 339.8°. Best body text is #FFFFFF at 6.26:1 contrast (WCAG AA passes).

Color values

HEX#AB248B
RGBrgb(171, 36, 139)
HSLhsl(314, 65%, 41%)
HSVhsv(314, 79%, 67%)
CMYKcmyk(0%, 78.9%, 18.7%, 32.9%)
CIE-LABlab(40.87, 62.25, -25.27)
CIE-LCHlch(40.87, 67.18, 337.90°)
OKLaboklab(51.66% 0.1858 -0.0683)
OKLCHoklch(51.66% 0.198 339.8)
XYZxyz(22.0863, 11.7860, 25.5329)
Luminance0.1178 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB248B #24AB44
analogous
#8724AB #AB248B #AB2448
triadic
#AB248B #8BAB24 #248BAB
tetradic
#AB248B #AB8724 #24AB44 #2448AB
square
#AB248B #AB8724 #24AB44 #2448AB
split-complementary
#AB248B #48AB24 #24AB87
monochromatic
#460F39 #781962 #AB248B #D537B0 #E06AC4

Accessibility & contrast

On white

6.26
#AB248B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB248B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB248B
6.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB248B#FFFFFF#000000##FFFFFF
##AB248B1.006.263.366.26
#FFFFFF6.261.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538E
Deuteranopia (green-blind)
#5C6888
Tritanopia (blue-blind)
#B52956
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab248b;
/* rgb */ color: rgb(171, 36, 139);
/* oklch */ color: oklch(51.7% 0.198 339.8);
Tailwind
colors: {
  custom: {
    50: '#c86fad',
    500: '#ab248b',
    950: '#000000',
  },
}
SCSS
$custom: #ab248b;
$custom-light: #c86fad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab248b",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 139
  },
  "hsl": {
    "h": 314.222,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51662,
    "c": 0.19797,
    "h": 339.8
  },
  "luminance": 0.11784
}

Semantic roles & 50–950 ramp

primary
#AB248B
secondary
#65C67C
accent
#E86840
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB248B

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

Preview Lab → · Contrast checker → · Palette generator →

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