#AB248F#AB248F

#AB248F is a mid, highly saturated pink. Relative luminance 0.119; OKLCH L 51.9% C 0.201 H 338.2°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#AB248F
RGBrgb(171, 36, 143)
HSLhsl(312, 65%, 41%)
HSVhsv(312, 79%, 67%)
CMYKcmyk(0%, 78.9%, 16.4%, 32.9%)
CIE-LABlab(41.06, 62.80, -27.42)
CIE-LCHlch(41.06, 68.53, 336.41°)
OKLaboklab(51.86% 0.1863 -0.0745)
OKLCHoklch(51.86% 0.201 338.2)
XYZxyz(22.3839, 11.9050, 27.1003)
Luminance0.1190 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB248F #24AB40
analogous
#8324AB #AB248F #AB244C
triadic
#AB248F #8FAB24 #248FAB
tetradic
#AB248F #AB8324 #24AB40 #244CAB
square
#AB248F #AB8324 #24AB40 #244CAB
split-complementary
#AB248F #4CAB24 #24AB83
monochromatic
#460F3A #781965 #AB248F #D537B4 #E06AC7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB248F#FFFFFF#000000##FFFFFF
##AB248F1.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)
#2B5492
Deuteranopia (green-blind)
#5A688C
Tritanopia (blue-blind)
#B52C58
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab248f;
/* rgb */ color: rgb(171, 36, 143);
/* oklch */ color: oklch(51.9% 0.201 338.2);
Tailwind
colors: {
  custom: {
    50: '#c86fb0',
    500: '#ab248f',
    950: '#000000',
  },
}
SCSS
$custom: #ab248f;
$custom-light: #c86fb0;
$custom-dark: #000000;
JSON
{
  "hex": "#ab248f",
  "rgb": {
    "r": 171,
    "g": 36,
    "b": 143
  },
  "hsl": {
    "h": 312.444,
    "s": 65.217,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51862,
    "c": 0.20058,
    "h": 338.2
  },
  "luminance": 0.11903
}

Semantic roles & 50–950 ramp

primary
#AB248F
secondary
#65C679
accent
#E86340
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140810
muted
#827B7F

Preview Lab

Preview with #AB248F

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

Preview Lab → · Contrast checker → · Palette generator →

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