#AB296E#AB296E

#AB296E is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.8% C 0.177 H 353.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#AB296E
RGBrgb(171, 41, 110)
HSLhsl(328, 61%, 42%)
HSVhsv(328, 76%, 67%)
CMYKcmyk(0%, 76%, 35.7%, 32.9%)
CIE-LABlab(40.20, 57.14, -8.36)
CIE-LCHlch(40.20, 57.75, 351.68°)
OKLaboklab(50.78% 0.1753 -0.0214)
OKLCHoklch(50.78% 0.177 353)
XYZxyz(20.4033, 11.3721, 15.8694)
Luminance0.1137 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB296E #29AB66
analogous
#A729AB #AB296E #AB292D
triadic
#AB296E #6EAB29 #296EAB
tetradic
#AB296E #ABA729 #29AB66 #292DAB
square
#AB296E #ABA729 #29AB66 #292DAB
split-complementary
#AB296E #2DAB29 #29ABA7
monochromatic
#48112E #7A1D4E #AB296E #D1408D #DD71AB

Accessibility & contrast

On white

6.41
#AB296E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#AB296E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB296E
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB296E#FFFFFF#000000##FFFFFF
##AB296E1.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#415070
Deuteranopia (green-blind)
#66676B
Tritanopia (blue-blind)
#B81C48
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab296e;
/* rgb */ color: rgb(171, 41, 110);
/* oklch */ color: oklch(50.8% 0.177 353.0);
Tailwind
colors: {
  custom: {
    50: '#c97097',
    500: '#ab296e',
    950: '#000000',
  },
}
SCSS
$custom: #ab296e;
$custom-light: #c97097;
$custom-dark: #000000;
JSON
{
  "hex": "#ab296e",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 110
  },
  "hsl": {
    "h": 328.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50781,
    "c": 0.17657,
    "h": 353
  },
  "luminance": 0.1137
}

Semantic roles & 50–950 ramp

primary
#AB296E
secondary
#6CC495
accent
#E48F43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080D
muted
#827B7E

Preview Lab

Preview with #AB296E

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

Preview Lab → · Contrast checker → · Palette generator →

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