#AB2854#AB2854

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

Color values

HEX#AB2854
RGBrgb(171, 40, 84)
HSLhsl(340, 62%, 41%)
HSVhsv(340, 77%, 67%)
CMYKcmyk(0%, 76.6%, 50.9%, 32.9%)
CIE-LABlab(39.27, 54.90, 6.70)
CIE-LCHlch(39.27, 55.31, 6.96°)
OKLaboklab(49.83% 0.1677 0.0175)
OKLCHoklch(49.83% 0.169 6)
XYZxyz(19.1553, 10.8182, 9.4652)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2854 #28AB7F
analogous
#AB2896 #AB2854 #AB3E28
triadic
#AB2854 #54AB28 #2854AB
tetradic
#AB2854 #96AB28 #28AB7F #3E28AB
square
#AB2854 #96AB28 #28AB7F #3E28AB
split-complementary
#AB2854 #28AB3E #2896AB
monochromatic
#481123 #791C3C #AB2854 #D23E70 #DE7095

Accessibility & contrast

On white

6.64
#AB2854 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB2854
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2854#FFFFFF#000000##FFFFFF
##AB28541.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab2854;
/* rgb */ color: rgb(171, 40, 84);
/* oklch */ color: oklch(49.8% 0.169 6.0);
Tailwind
colors: {
  custom: {
    50: '#ca6e83',
    500: '#ab2854',
    950: '#000000',
  },
}
SCSS
$custom: #ab2854;
$custom-light: #ca6e83;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2854",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 84
  },
  "hsl": {
    "h": 339.847,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49834,
    "c": 0.1686,
    "h": 6
  },
  "luminance": 0.10816
}

Semantic roles & 50–950 ramp

primary
#AB2854
secondary
#6AC4A6
accent
#E5AF43
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB2854

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

Preview Lab → · Contrast checker → · Palette generator →

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