#AB3095#AB3095

#AB3095 is a mid, vivid pink. Relative luminance 0.129; OKLCH L 53.1% C 0.192 H 336.1°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#AB3095
RGBrgb(171, 48, 149)
HSLhsl(311, 56%, 43%)
HSVhsv(311, 72%, 67%)
CMYKcmyk(0%, 71.9%, 12.9%, 32.9%)
CIE-LABlab(42.68, 59.90, -28.54)
CIE-LCHlch(42.68, 66.35, 334.53°)
OKLaboklab(53.12% 0.1756 -0.0777)
OKLCHoklch(53.12% 0.192 336.1)
XYZxyz(23.2767, 12.9438, 29.7004)
Luminance0.1294 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3095 #30AB46
analogous
#8330AB #AB3095 #AB3057
triadic
#AB3095 #95AB30 #3095AB
tetradic
#AB3095 #AB8330 #30AB46 #3057AB
square
#AB3095 #AB8330 #30AB46 #3057AB
split-complementary
#AB3095 #57AB30 #30AB83
monochromatic
#4B1542 #7B236B #AB3095 #CD4CB6 #DA7BC9

Accessibility & contrast

On white

5.85
#AB3095 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#AB3095 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3095
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3095#FFFFFF#000000##FFFFFF
##AB30951.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#325998
Deuteranopia (green-blind)
#5C6B92
Tritanopia (blue-blind)
#B4385F
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab3095;
/* rgb */ color: rgb(171, 48, 149);
/* oklch */ color: oklch(53.1% 0.192 336.1);
Tailwind
colors: {
  custom: {
    50: '#c874b4',
    500: '#ab3095',
    950: '#000000',
  },
}
SCSS
$custom: #ab3095;
$custom-light: #c874b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3095",
  "rgb": {
    "r": 171,
    "g": 48,
    "b": 149
  },
  "hsl": {
    "h": 310.732,
    "s": 56.164,
    "l": 42.941
  },
  "oklch": {
    "l": 0.5312,
    "c": 0.19202,
    "h": 336.1
  },
  "luminance": 0.12942
}

Semantic roles & 50–950 ramp

primary
#AB3095
secondary
#74C382
accent
#DF6348
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB3095

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

Preview Lab → · Contrast checker → · Palette generator →

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