#AB3152#AB3152

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

Color values

HEX#AB3152
RGBrgb(171, 49, 82)
HSLhsl(344, 55%, 43%)
HSVhsv(344, 71%, 67%)
CMYKcmyk(0%, 71.3%, 52%, 32.9%)
CIE-LABlab(40.36, 51.57, 9.49)
CIE-LCHlch(40.36, 52.44, 10.43°)
OKLaboklab(50.62% 0.1568 0.0244)
OKLCHoklch(50.62% 0.159 8.8)
XYZxyz(19.4176, 11.4664, 9.1717)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB3152 #31AB8A
analogous
#AB318F #AB3152 #AB4D31
triadic
#AB3152 #52AB31 #3152AB
tetradic
#AB3152 #8FAB31 #31AB8A #4D31AB
square
#AB3152 #8FAB31 #31AB8A #4D31AB
split-complementary
#AB3152 #31AB4D #318FAB
monochromatic
#4C1624 #7B233B #AB3152 #CC4D6F #DA7D96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB3152#FFFFFF#000000##FFFFFF
##AB31521.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)
#4E4F53
Deuteranopia (green-blind)
#6E684F
Tritanopia (blue-blind)
#BA183E
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab3152;
/* rgb */ color: rgb(171, 49, 82);
/* oklch */ color: oklch(50.6% 0.159 8.8);
Tailwind
colors: {
  custom: {
    50: '#ca7282',
    500: '#ab3152',
    950: '#000000',
  },
}
SCSS
$custom: #ab3152;
$custom-light: #ca7282;
$custom-dark: #000000;
JSON
{
  "hex": "#ab3152",
  "rgb": {
    "r": 171,
    "g": 49,
    "b": 82
  },
  "hsl": {
    "h": 343.77,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50617,
    "c": 0.15864,
    "h": 8.8
  },
  "luminance": 0.11464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB3152

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

Preview Lab → · Contrast checker → · Palette generator →

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