#AB3151#AB3151

#AB3151 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.6% C 0.158 H 9.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AB3151
RGBrgb(171, 49, 81)
HSLhsl(344, 55%, 43%)
HSVhsv(344, 71%, 67%)
CMYKcmyk(0%, 71.3%, 52.6%, 32.9%)
CIE-LABlab(40.33, 51.49, 10.09)
CIE-LCHlch(40.33, 52.46, 11.09°)
OKLaboklab(50.59% 0.1564 0.0258)
OKLCHoklch(50.59% 0.158 9.4)
XYZxyz(19.3798, 11.4512, 8.9728)
Luminance0.1145 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3151 #31AB8B
analogous
#AB318E #AB3151 #AB4E31
triadic
#AB3151 #51AB31 #3151AB
tetradic
#AB3151 #8EAB31 #31AB8B #4E31AB
square
#AB3151 #8EAB31 #31AB8B #4E31AB
split-complementary
#AB3151 #31AB4E #318EAB
monochromatic
#4C1624 #7B233A #AB3151 #CC4D6E #DA7D95

Accessibility & contrast

On white

6.38
#AB3151 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB3151 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB3151
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB3151#FFFFFF#000000##FFFFFF
##AB31511.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4F52
Deuteranopia (green-blind)
#6E684E
Tritanopia (blue-blind)
#BB173E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab3151;
/* rgb */ color: rgb(171, 49, 81);
/* oklch */ color: oklch(50.6% 0.158 9.4);
Tailwind
colors: {
  custom: {
    50: '#ca7281',
    500: '#ab3151',
    950: '#000000',
  },
}
SCSS
$custom: #ab3151;
$custom-light: #ca7281;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3151",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 81
  },
  "hsl": {
    "h": 344.262,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50591,
    "c": 0.15848,
    "h": 9.4
  },
  "luminance": 0.11449
}

Semantic roles & 50–950 ramp

primary
#AB3151
secondary
#75C2AE
accent
#DFB749
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB3151

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

Preview Lab → · Contrast checker → · Palette generator →

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