#AB2957#AB2957

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

Color values

HEX#AB2957
RGBrgb(171, 41, 87)
HSLhsl(339, 61%, 42%)
HSVhsv(339, 76%, 67%)
CMYKcmyk(0%, 76%, 49.1%, 32.9%)
CIE-LABlab(39.47, 54.84, 5.08)
CIE-LCHlch(39.47, 55.07, 5.29°)
OKLaboklab(50.01% 0.1678 0.0135)
OKLCHoklch(50.01% 0.168 4.6)
XYZxyz(19.3095, 10.9345, 10.1088)
Luminance0.1093 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2957 #29AB7D
analogous
#AB2998 #AB2957 #AB3C29
triadic
#AB2957 #57AB29 #2957AB
tetradic
#AB2957 #98AB29 #29AB7D #3C29AB
square
#AB2957 #98AB29 #29AB7D #3C29AB
split-complementary
#AB2957 #29AB3C #2998AB
monochromatic
#481125 #7A1D3E #AB2957 #D14073 #DD7197

Accessibility & contrast

On white

6.59
#AB2957 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2957
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2957#FFFFFF#000000##FFFFFF
##AB29571.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494D58
Deuteranopia (green-blind)
#6B6654
Tritanopia (blue-blind)
#BA093D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab2957;
/* rgb */ color: rgb(171, 41, 87);
/* oklch */ color: oklch(50.0% 0.168 4.6);
Tailwind
colors: {
  custom: {
    50: '#ca6f86',
    500: '#ab2957',
    950: '#000000',
  },
}
SCSS
$custom: #ab2957;
$custom-light: #ca6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2957",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 87
  },
  "hsl": {
    "h": 338.769,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50006,
    "c": 0.16829,
    "h": 4.6
  },
  "luminance": 0.10932
}

Semantic roles & 50–950 ramp

primary
#AB2957
secondary
#6CC4A5
accent
#E4AB43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB2957

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

Preview Lab → · Contrast checker → · Palette generator →

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