#AB284C#AB284C

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

Color values

HEX#AB284C
RGBrgb(171, 40, 76)
HSLhsl(344, 62%, 41%)
HSVhsv(344, 77%, 67%)
CMYKcmyk(0%, 76.6%, 55.6%, 32.9%)
CIE-LABlab(39.07, 54.26, 11.50)
CIE-LCHlch(39.07, 55.47, 11.97°)
OKLaboklab(49.62% 0.1646 0.0291)
OKLCHoklch(49.62% 0.167 10)
XYZxyz(18.8597, 10.7000, 7.9083)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB284C #28AB87
analogous
#AB288E #AB284C #AB4528
triadic
#AB284C #4CAB28 #284CAB
tetradic
#AB284C #8EAB28 #28AB87 #4528AB
square
#AB284C #8EAB28 #28AB87 #4528AB
split-complementary
#AB284C #28AB45 #288EAB
monochromatic
#481120 #791C36 #AB284C #D23E67 #DE708E

Accessibility & contrast

On white

6.69
#AB284C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#AB284C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB284C
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB284C#FFFFFF#000000##FFFFFF
##AB284C1.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4B4D
Deuteranopia (green-blind)
#6C6649
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab284c;
/* rgb */ color: rgb(171, 40, 76);
/* oklch */ color: oklch(49.6% 0.167 10.0);
Tailwind
colors: {
  custom: {
    50: '#ca6e7d',
    500: '#ab284c',
    950: '#000000',
  },
}
SCSS
$custom: #ab284c;
$custom-light: #ca6e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab284c",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 76
  },
  "hsl": {
    "h": 343.511,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49619,
    "c": 0.16717,
    "h": 10
  },
  "luminance": 0.10697
}

Semantic roles & 50–950 ramp

primary
#AB284C
secondary
#6AC4AC
accent
#E5B843
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB284C

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

Preview Lab → · Contrast checker → · Palette generator →

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