#AB3154#AB3154

#AB3154 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 50.7% C 0.159 H 7.8°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#AB3154
RGBrgb(171, 49, 84)
HSLhsl(343, 55%, 43%)
HSVhsv(343, 71%, 67%)
CMYKcmyk(0%, 71.3%, 50.9%, 32.9%)
CIE-LABlab(40.41, 51.74, 8.30)
CIE-LCHlch(40.41, 52.40, 9.12°)
OKLaboklab(50.67% 0.1575 0.0215)
OKLCHoklch(50.67% 0.159 7.8)
XYZxyz(19.4948, 11.4972, 9.5784)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3154 #31AB88
analogous
#AB3191 #AB3154 #AB4B31
triadic
#AB3154 #54AB31 #3154AB
tetradic
#AB3154 #91AB31 #31AB88 #4B31AB
square
#AB3154 #91AB31 #31AB88 #4B31AB
split-complementary
#AB3154 #31AB4B #3191AB
monochromatic
#4C1625 #7B233D #AB3154 #CC4D72 #DA7D97

Accessibility & contrast

On white

6.37
#AB3154 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#AB3154 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3154
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3154#FFFFFF#000000##FFFFFF
##AB31541.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5055
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#BA193F
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab3154;
/* rgb */ color: rgb(171, 49, 84);
/* oklch */ color: oklch(50.7% 0.159 7.8);
Tailwind
colors: {
  custom: {
    50: '#ca7283',
    500: '#ab3154',
    950: '#000000',
  },
}
SCSS
$custom: #ab3154;
$custom-light: #ca7283;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3154",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 84
  },
  "hsl": {
    "h": 342.787,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50671,
    "c": 0.15899,
    "h": 7.8
  },
  "luminance": 0.11495
}

Semantic roles & 50–950 ramp

primary
#AB3154
secondary
#75C2AC
accent
#DFB449
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AB3154

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

Preview Lab → · Contrast checker → · Palette generator →

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