#AB2955#AB2955

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

Color values

HEX#AB2955
RGBrgb(171, 41, 85)
HSLhsl(340, 61%, 42%)
HSVhsv(340, 76%, 67%)
CMYKcmyk(0%, 76%, 50.3%, 32.9%)
CIE-LABlab(39.42, 54.66, 6.27)
CIE-LCHlch(39.42, 55.02, 6.54°)
OKLaboklab(49.95% 0.167 0.0165)
OKLCHoklch(49.95% 0.168 5.6)
XYZxyz(19.2289, 10.9023, 9.6844)
Luminance0.1090 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2955 #29AB7F
analogous
#AB2996 #AB2955 #AB3E29
triadic
#AB2955 #55AB29 #2955AB
tetradic
#AB2955 #96AB29 #29AB7F #3E29AB
square
#AB2955 #96AB29 #29AB7F #3E29AB
split-complementary
#AB2955 #29AB3E #2996AB
monochromatic
#481124 #7A1D3C #AB2955 #D14071 #DD7196

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB2955#FFFFFF#000000##FFFFFF
##AB29551.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)
#494C56
Deuteranopia (green-blind)
#6B6652
Tritanopia (blue-blind)
#BA073C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2955;
/* rgb */ color: rgb(171, 41, 85);
/* oklch */ color: oklch(49.9% 0.168 5.6);
Tailwind
colors: {
  custom: {
    50: '#ca6f84',
    500: '#ab2955',
    950: '#000000',
  },
}
SCSS
$custom: #ab2955;
$custom-light: #ca6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2955",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 85
  },
  "hsl": {
    "h": 339.692,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.49948,
    "c": 0.16782,
    "h": 5.6
  },
  "luminance": 0.109
}

Semantic roles & 50–950 ramp

primary
#AB2955
secondary
#6CC4A6
accent
#E4AE43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2955

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

Preview Lab → · Contrast checker → · Palette generator →

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