#AB2956#AB2956

#AB2956 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.0% C 0.168 H 5.1°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#AB2956
RGBrgb(171, 41, 86)
HSLhsl(339, 61%, 42%)
HSVhsv(339, 76%, 67%)
CMYKcmyk(0%, 76%, 49.7%, 32.9%)
CIE-LABlab(39.44, 54.75, 5.67)
CIE-LCHlch(39.44, 55.04, 5.91°)
OKLaboklab(49.98% 0.1674 0.015)
OKLCHoklch(49.98% 0.168 5.1)
XYZxyz(19.2689, 10.9183, 9.8951)
Luminance0.1092 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2956 #29AB7E
analogous
#AB2997 #AB2956 #AB3D29
triadic
#AB2956 #56AB29 #2956AB
tetradic
#AB2956 #97AB29 #29AB7E #3D29AB
square
#AB2956 #97AB29 #29AB7E #3D29AB
split-complementary
#AB2956 #29AB3D #2997AB
monochromatic
#481124 #7A1D3D #AB2956 #D14072 #DD7197

Accessibility & contrast

On white

6.60
#AB2956 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#AB2956 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2956
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2956#FFFFFF#000000##FFFFFF
##AB29561.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D57
Deuteranopia (green-blind)
#6B6653
Tritanopia (blue-blind)
#BA083C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2956;
/* rgb */ color: rgb(171, 41, 86);
/* oklch */ color: oklch(50.0% 0.168 5.1);
Tailwind
colors: {
  custom: {
    50: '#ca6f85',
    500: '#ab2956',
    950: '#000000',
  },
}
SCSS
$custom: #ab2956;
$custom-light: #ca6f85;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2956",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 86
  },
  "hsl": {
    "h": 339.231,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49977,
    "c": 0.16806,
    "h": 5.1
  },
  "luminance": 0.10916
}

Semantic roles & 50–950 ramp

primary
#AB2956
secondary
#6CC4A6
accent
#E4AD43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2956

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

Preview Lab → · Contrast checker → · Palette generator →

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