#AB2849#AB2849

#AB2849 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.5% C 0.167 H 11.5°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#AB2849
RGBrgb(171, 40, 73)
HSLhsl(345, 62%, 41%)
HSVhsv(345, 77%, 67%)
CMYKcmyk(0%, 76.6%, 57.3%, 32.9%)
CIE-LABlab(39.00, 54.03, 13.31)
CIE-LCHlch(39.00, 55.65, 13.84°)
OKLaboklab(49.55% 0.1634 0.0333)
OKLCHoklch(49.55% 0.167 11.5)
XYZxyz(18.7578, 10.6593, 7.3718)
Luminance0.1066 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2849 #28AB8A
analogous
#AB288B #AB2849 #AB4828
triadic
#AB2849 #49AB28 #2849AB
tetradic
#AB2849 #8BAB28 #28AB8A #4828AB
square
#AB2849 #8BAB28 #28AB8A #4828AB
split-complementary
#AB2849 #28AB48 #288BAB
monochromatic
#48111F #791C34 #AB2849 #D23E63 #DE708C

Accessibility & contrast

On white

6.71
#AB2849 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#AB2849 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2849
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2849#FFFFFF#000000##FFFFFF
##AB28491.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4B49
Deuteranopia (green-blind)
#6D6546
Tritanopia (blue-blind)
#BB0036
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2849;
/* rgb */ color: rgb(171, 40, 73);
/* oklch */ color: oklch(49.5% 0.167 11.5);
Tailwind
colors: {
  custom: {
    50: '#cb6e7b',
    500: '#ab2849',
    950: '#000000',
  },
}
SCSS
$custom: #ab2849;
$custom-light: #cb6e7b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2849",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 73
  },
  "hsl": {
    "h": 344.885,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49545,
    "c": 0.1668,
    "h": 11.5
  },
  "luminance": 0.10657
}

Semantic roles & 50–950 ramp

primary
#AB2849
secondary
#6AC4AE
accent
#E5BC43
background
#FDF7F7
surface
#FAEDED
border
#D3C8C8
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB2849

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

Preview Lab → · Contrast checker → · Palette generator →

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