#AB3254#AB3254

#AB3254 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 50.8% C 0.158 H 8.0°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#AB3254
RGBrgb(171, 50, 84)
HSLhsl(343, 55%, 43%)
HSVhsv(343, 71%, 67%)
CMYKcmyk(0%, 70.8%, 50.9%, 32.9%)
CIE-LABlab(40.54, 51.36, 8.50)
CIE-LCHlch(40.54, 52.06, 9.39°)
OKLaboklab(50.77% 0.1563 0.022)
OKLCHoklch(50.77% 0.158 8)
XYZxyz(19.5371, 11.5818, 9.5925)
Luminance0.1158 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3254 #32AB89
analogous
#AB3290 #AB3254 #AB4C32
triadic
#AB3254 #54AB32 #3254AB
tetradic
#AB3254 #90AB32 #32AB89 #4C32AB
square
#AB3254 #90AB32 #32AB89 #4C32AB
split-complementary
#AB3254 #32AB4C #3290AB
monochromatic
#4C1625 #7C243D #AB3254 #CB4F72 #D97E98

Accessibility & contrast

On white

6.33
#AB3254 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#AB3254 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3254
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3254#FFFFFF#000000##FFFFFF
##AB32541.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5055
Deuteranopia (green-blind)
#6E6851
Tritanopia (blue-blind)
#BA1B40
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab3254;
/* rgb */ color: rgb(171, 50, 84);
/* oklch */ color: oklch(50.8% 0.158 8.0);
Tailwind
colors: {
  custom: {
    50: '#ca7383',
    500: '#ab3254',
    950: '#000000',
  },
}
SCSS
$custom: #ab3254;
$custom-light: #ca7383;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3254",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 84
  },
  "hsl": {
    "h": 343.14,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.50774,
    "c": 0.15785,
    "h": 8
  },
  "luminance": 0.11579
}

Semantic roles & 50–950 ramp

primary
#AB3254
secondary
#77C2AD
accent
#DEB44A
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14090A
muted
#837B7C

Preview Lab

Preview with #AB3254

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

Preview Lab → · Contrast checker → · Palette generator →

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