#AB3088#AB3088

#AB3088 is a mid, vivid pink. Relative luminance 0.125; OKLCH L 52.5% C 0.183 H 341.6°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB3088
RGBrgb(171, 48, 136)
HSLhsl(317, 56%, 43%)
HSVhsv(317, 72%, 67%)
CMYKcmyk(0%, 71.9%, 20.5%, 32.9%)
CIE-LABlab(42.08, 58.02, -21.57)
CIE-LCHlch(42.08, 61.90, 339.61°)
OKLaboklab(52.49% 0.1738 -0.058)
OKLCHoklch(52.49% 0.183 341.6)
XYZxyz(22.2962, 12.5516, 24.5363)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3088 #30AB53
analogous
#9030AB #AB3088 #AB304B
triadic
#AB3088 #88AB30 #3088AB
tetradic
#AB3088 #AB9030 #30AB53 #304BAB
square
#AB3088 #AB9030 #30AB53 #304BAB
split-complementary
#AB3088 #4BAB30 #30AB90
monochromatic
#4B153C #7B2362 #AB3088 #CD4CA8 #DA7BBF

Accessibility & contrast

On white

5.98
#AB3088 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB3088 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3088
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3088#FFFFFF#000000##FFFFFF
##AB30881.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A578A
Deuteranopia (green-blind)
#616B85
Tritanopia (blue-blind)
#B63258
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab3088;
/* rgb */ color: rgb(171, 48, 136);
/* oklch */ color: oklch(52.5% 0.183 341.6);
Tailwind
colors: {
  custom: {
    50: '#c873ab',
    500: '#ab3088',
    950: '#000000',
  },
}
SCSS
$custom: #ab3088;
$custom-light: #c873ab;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3088",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 136
  },
  "hsl": {
    "h": 317.073,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5249,
    "c": 0.18317,
    "h": 341.6
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#AB3088
secondary
#74C38B
accent
#DF7348
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB3088

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

Preview Lab → · Contrast checker → · Palette generator →

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