#AB284A#AB284A

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

Color values

HEX#AB284A
RGBrgb(171, 40, 74)
HSLhsl(344, 62%, 41%)
HSVhsv(344, 77%, 67%)
CMYKcmyk(0%, 76.6%, 56.7%, 32.9%)
CIE-LABlab(39.02, 54.11, 12.71)
CIE-LCHlch(39.02, 55.58, 13.22°)
OKLaboklab(49.57% 0.1638 0.0319)
OKLCHoklch(49.57% 0.167 11)
XYZxyz(18.7912, 10.6726, 7.5478)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB284A #28AB89
analogous
#AB288C #AB284A #AB4728
triadic
#AB284A #4AAB28 #284AAB
tetradic
#AB284A #8CAB28 #28AB89 #4728AB
square
#AB284A #8CAB28 #28AB89 #4728AB
split-complementary
#AB284A #28AB47 #288CAB
monochromatic
#48111F #791C35 #AB284A #D23E65 #DE708C

Accessibility & contrast

On white

6.70
#AB284A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB284A
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB284A#FFFFFF#000000##FFFFFF
##AB284A1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #ab284a;
/* rgb */ color: rgb(171, 40, 74);
/* oklch */ color: oklch(49.6% 0.167 11.0);
Tailwind
colors: {
  custom: {
    50: '#ca6e7c',
    500: '#ab284a',
    950: '#000000',
  },
}
SCSS
$custom: #ab284a;
$custom-light: #ca6e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab284a",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 74
  },
  "hsl": {
    "h": 344.427,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49569,
    "c": 0.16691,
    "h": 11
  },
  "luminance": 0.1067
}

Semantic roles & 50–950 ramp

primary
#AB284A
secondary
#6AC4AD
accent
#E5BB43
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB284A

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

Preview Lab → · Contrast checker → · Palette generator →

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