#AB2852#AB2852

#AB2852 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 49.8% C 0.168 H 7.0°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#AB2852
RGBrgb(171, 40, 82)
HSLhsl(341, 62%, 41%)
HSVhsv(341, 77%, 67%)
CMYKcmyk(0%, 76.6%, 52%, 32.9%)
CIE-LABlab(39.22, 54.74, 7.90)
CIE-LCHlch(39.22, 55.30, 8.21°)
OKLaboklab(49.78% 0.1669 0.0204)
OKLCHoklch(49.78% 0.168 7)
XYZxyz(19.0781, 10.7874, 9.0586)
Luminance0.1079 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2852 #28AB81
analogous
#AB2894 #AB2852 #AB4028
triadic
#AB2852 #52AB28 #2852AB
tetradic
#AB2852 #94AB28 #28AB81 #4028AB
square
#AB2852 #94AB28 #28AB81 #4028AB
split-complementary
#AB2852 #28AB40 #2894AB
monochromatic
#481122 #791C3A #AB2852 #D23E6E #DE7093

Accessibility & contrast

On white

6.65
#AB2852 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#AB2852 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2852
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2852#FFFFFF#000000##FFFFFF
##AB28521.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#494C53
Deuteranopia (green-blind)
#6C664F
Tritanopia (blue-blind)
#BB013A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab2852;
/* rgb */ color: rgb(171, 40, 82);
/* oklch */ color: oklch(49.8% 0.168 7.0);
Tailwind
colors: {
  custom: {
    50: '#ca6e82',
    500: '#ab2852',
    950: '#000000',
  },
}
SCSS
$custom: #ab2852;
$custom-light: #ca6e82;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2852",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 82
  },
  "hsl": {
    "h": 340.763,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49778,
    "c": 0.16819,
    "h": 7
  },
  "luminance": 0.10785
}

Semantic roles & 50–950 ramp

primary
#AB2852
secondary
#6AC4A8
accent
#E5B143
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2852

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

Preview Lab → · Contrast checker → · Palette generator →

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