#AB248C#AB248C

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

Color values

HEX#AB248C
RGBrgb(171, 36, 140)
HSLhsl(314, 65%, 41%)
HSVhsv(314, 79%, 67%)
CMYKcmyk(0%, 78.9%, 18.1%, 32.9%)
CIE-LABlab(40.92, 62.39, -25.81)
CIE-LCHlch(40.92, 67.51, 337.52°)
OKLaboklab(51.71% 0.1859 -0.0699)
OKLCHoklch(51.71% 0.199 339.4)
XYZxyz(22.1597, 11.8154, 25.9194)
Luminance0.1181 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB248C #24AB43
analogous
#8624AB #AB248C #AB2448
triadic
#AB248C #8CAB24 #248CAB
tetradic
#AB248C #AB8624 #24AB43 #2448AB
square
#AB248C #AB8624 #24AB43 #2448AB
split-complementary
#AB248C #48AB24 #24AB86
monochromatic
#460F39 #781963 #AB248C #D537B1 #E06AC5

Accessibility & contrast

On white

6.25
#AB248C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB248C
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB248C#FFFFFF#000000##FFFFFF
##AB248C1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E538F
Deuteranopia (green-blind)
#5B6889
Tritanopia (blue-blind)
#B52A56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab248c;
/* rgb */ color: rgb(171, 36, 140);
/* oklch */ color: oklch(51.7% 0.199 339.4);
Tailwind
colors: {
  custom: {
    50: '#c86fae',
    500: '#ab248c',
    950: '#000000',
  },
}
SCSS
$custom: #ab248c;
$custom-light: #c86fae;
$custom-dark: #000000;
JSON
{
  "hex": "#ab248c",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 140
  },
  "hsl": {
    "h": 313.778,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51712,
    "c": 0.19862,
    "h": 339.4
  },
  "luminance": 0.11813
}

Semantic roles & 50–950 ramp

primary
#AB248C
secondary
#65C67B
accent
#E86640
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB248C

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

Preview Lab → · Contrast checker → · Palette generator →

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