#AB325E#AB325E

#AB325E is a mid, vivid pink. Relative luminance 0.117; OKLCH L 51.1% C 0.160 H 2.6°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#AB325E
RGBrgb(171, 50, 94)
HSLhsl(338, 55%, 43%)
HSVhsv(338, 71%, 67%)
CMYKcmyk(0%, 70.8%, 45%, 32.9%)
CIE-LABlab(40.82, 52.29, 2.59)
CIE-LCHlch(40.82, 52.35, 2.84°)
OKLaboklab(51.06% 0.16 0.0073)
OKLCHoklch(51.06% 0.16 2.6)
XYZxyz(19.9571, 11.7498, 11.8045)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB325E #32AB7F
analogous
#AB329A #AB325E #AB4232
triadic
#AB325E #5EAB32 #325EAB
tetradic
#AB325E #9AAB32 #32AB7F #4232AB
square
#AB325E #9AAB32 #32AB7F #4232AB
split-complementary
#AB325E #32AB42 #329AAB
monochromatic
#4C162A #7C2444 #AB325E #CB4F7C #D97E9F

Accessibility & contrast

On white

6.27
#AB325E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#AB325E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB325E
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB325E#FFFFFF#000000##FFFFFF
##AB325E1.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C515F
Deuteranopia (green-blind)
#6D695B
Tritanopia (blue-blind)
#BA2044
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab325e;
/* rgb */ color: rgb(171, 50, 94);
/* oklch */ color: oklch(51.1% 0.160 2.6);
Tailwind
colors: {
  custom: {
    50: '#c9738b',
    500: '#ab325e',
    950: '#000000',
  },
}
SCSS
$custom: #ab325e;
$custom-light: #c9738b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab325e",
  "rgb": {
    "r": 171,
    "g": 50,
    "b": 94
  },
  "hsl": {
    "h": 338.182,
    "s": 54.751,
    "l": 43.333
  },
  "oklch": {
    "l": 0.51064,
    "c": 0.1602,
    "h": 2.6
  },
  "luminance": 0.11747
}

Semantic roles & 50–950 ramp

primary
#AB325E
secondary
#77C2A7
accent
#DEA84A
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14090C
muted
#837B7D

Preview Lab

Preview with #AB325E

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

Preview Lab → · Contrast checker → · Palette generator →

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