#AB2954#AB2954

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

Color values

HEX#AB2954
RGBrgb(171, 41, 84)
HSLhsl(340, 61%, 42%)
HSVhsv(340, 76%, 67%)
CMYKcmyk(0%, 76%, 50.9%, 32.9%)
CIE-LABlab(39.39, 54.58, 6.86)
CIE-LCHlch(39.39, 55.01, 7.17°)
OKLaboklab(49.92% 0.1666 0.0179)
OKLCHoklch(49.92% 0.168 6.1)
XYZxyz(19.1894, 10.8865, 9.4766)
Luminance0.1088 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2954 #29AB80
analogous
#AB2995 #AB2954 #AB3F29
triadic
#AB2954 #54AB29 #2954AB
tetradic
#AB2954 #95AB29 #29AB80 #3F29AB
square
#AB2954 #95AB29 #29AB80 #3F29AB
split-complementary
#AB2954 #29AB3F #2995AB
monochromatic
#481124 #7A1D3C #AB2954 #D14070 #DD7195

Accessibility & contrast

On white

6.61
#AB2954 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2954
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2954#FFFFFF#000000##FFFFFF
##AB29541.006.613.186.61
#FFFFFF6.611.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C55
Deuteranopia (green-blind)
#6B6651
Tritanopia (blue-blind)
#BA063B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2954;
/* rgb */ color: rgb(171, 41, 84);
/* oklch */ color: oklch(49.9% 0.168 6.1);
Tailwind
colors: {
  custom: {
    50: '#ca6f83',
    500: '#ab2954',
    950: '#000000',
  },
}
SCSS
$custom: #ab2954;
$custom-light: #ca6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2954",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 84
  },
  "hsl": {
    "h": 340.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.4992,
    "c": 0.1676,
    "h": 6.1
  },
  "luminance": 0.10884
}

Semantic roles & 50–950 ramp

primary
#AB2954
secondary
#6CC4A7
accent
#E4AF43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2954

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

Preview Lab → · Contrast checker → · Palette generator →

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