#AB284D#AB284D

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

Color values

HEX#AB284D
RGBrgb(171, 40, 77)
HSLhsl(343, 62%, 41%)
HSVhsv(343, 77%, 67%)
CMYKcmyk(0%, 76.6%, 55%, 32.9%)
CIE-LABlab(39.09, 54.34, 10.90)
CIE-LCHlch(39.09, 55.42, 11.34°)
OKLaboklab(49.65% 0.165 0.0277)
OKLCHoklch(49.65% 0.167 9.5)
XYZxyz(18.8947, 10.7140, 8.0928)
Luminance0.1071 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB284D #28AB86
analogous
#AB288F #AB284D #AB4428
triadic
#AB284D #4DAB28 #284DAB
tetradic
#AB284D #8FAB28 #28AB86 #4428AB
square
#AB284D #8FAB28 #28AB86 #4428AB
split-complementary
#AB284D #28AB44 #288FAB
monochromatic
#481120 #791C37 #AB284D #D23E68 #DE708F

Accessibility & contrast

On white

6.68
#AB284D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB284D
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB284D#FFFFFF#000000##FFFFFF
##AB284D1.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B4E
Deuteranopia (green-blind)
#6C664A
Tritanopia (blue-blind)
#BB0038
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab284d;
/* rgb */ color: rgb(171, 40, 77);
/* oklch */ color: oklch(49.6% 0.167 9.5);
Tailwind
colors: {
  custom: {
    50: '#ca6e7e',
    500: '#ab284d',
    950: '#000000',
  },
}
SCSS
$custom: #ab284d;
$custom-light: #ca6e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#ab284d",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 77
  },
  "hsl": {
    "h": 343.053,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49645,
    "c": 0.16731,
    "h": 9.5
  },
  "luminance": 0.10711
}

Semantic roles & 50–950 ramp

primary
#AB284D
secondary
#6AC4AB
accent
#E5B743
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#140809
muted
#837B7B

Preview Lab

Preview with #AB284D

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

Preview Lab → · Contrast checker → · Palette generator →

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