#AB2959#AB2959

#AB2959 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 3.6°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#AB2959
RGBrgb(171, 41, 89)
HSLhsl(338, 61%, 42%)
HSVhsv(338, 76%, 67%)
CMYKcmyk(0%, 76%, 48%, 32.9%)
CIE-LABlab(39.53, 55.02, 3.89)
CIE-LCHlch(39.53, 55.15, 4.04°)
OKLaboklab(50.07% 0.1685 0.0105)
OKLCHoklch(50.07% 0.169 3.6)
XYZxyz(19.3923, 10.9677, 10.5451)
Luminance0.1096 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2959 #29AB7B
analogous
#AB299A #AB2959 #AB3A29
triadic
#AB2959 #59AB29 #2959AB
tetradic
#AB2959 #9AAB29 #29AB7B #3A29AB
square
#AB2959 #9AAB29 #29AB7B #3A29AB
split-complementary
#AB2959 #29AB3A #299AAB
monochromatic
#481126 #7A1D3F #AB2959 #D14076 #DD7199

Accessibility & contrast

On white

6.58
#AB2959 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#AB2959 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2959
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2959#FFFFFF#000000##FFFFFF
##AB29591.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5A
Deuteranopia (green-blind)
#6B6656
Tritanopia (blue-blind)
#BA0B3E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2959;
/* rgb */ color: rgb(171, 41, 89);
/* oklch */ color: oklch(50.1% 0.169 3.6);
Tailwind
colors: {
  custom: {
    50: '#ca6f87',
    500: '#ab2959',
    950: '#000000',
  },
}
SCSS
$custom: #ab2959;
$custom-light: #ca6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2959",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 89
  },
  "hsl": {
    "h": 337.846,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50066,
    "c": 0.16881,
    "h": 3.6
  },
  "luminance": 0.10965
}

Semantic roles & 50–950 ramp

primary
#AB2959
secondary
#6CC4A3
accent
#E4A943
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2959

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

Preview Lab → · Contrast checker → · Palette generator →

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