#AB284F#AB284F

#AB284F is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.168 H 8.5°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#AB284F
RGBrgb(171, 40, 79)
HSLhsl(342, 62%, 41%)
HSVhsv(342, 77%, 67%)
CMYKcmyk(0%, 76.6%, 53.8%, 32.9%)
CIE-LABlab(39.14, 54.49, 9.70)
CIE-LCHlch(39.14, 55.35, 10.09°)
OKLaboklab(49.7% 0.1658 0.0248)
OKLCHoklch(49.7% 0.168 8.5)
XYZxyz(18.9664, 10.7427, 8.4705)
Luminance0.1074 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB284F #28AB84
analogous
#AB2891 #AB284F #AB4328
triadic
#AB284F #4FAB28 #284FAB
tetradic
#AB284F #91AB28 #28AB84 #4328AB
square
#AB284F #91AB28 #28AB84 #4328AB
split-complementary
#AB284F #28AB43 #2891AB
monochromatic
#481121 #791C38 #AB284F #D23E6A #DE7091

Accessibility & contrast

On white

6.67
#AB284F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#AB284F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB284F
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB284F#FFFFFF#000000##FFFFFF
##AB284F1.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4B50
Deuteranopia (green-blind)
#6C664C
Tritanopia (blue-blind)
#BB0039
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab284f;
/* rgb */ color: rgb(171, 40, 79);
/* oklch */ color: oklch(49.7% 0.168 8.5);
Tailwind
colors: {
  custom: {
    50: '#ca6e80',
    500: '#ab284f',
    950: '#000000',
  },
}
SCSS
$custom: #ab284f;
$custom-light: #ca6e80;
$custom-dark: #000000;
JSON
{
  "hex": "#ab284f",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 79
  },
  "hsl": {
    "h": 342.137,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49697,
    "c": 0.16763,
    "h": 8.5
  },
  "luminance": 0.1074
}

Semantic roles & 50–950 ramp

primary
#AB284F
secondary
#6AC4AA
accent
#E5B543
background
#FDF7F7
surface
#FAEDEE
border
#D3C8C9
text
#14080A
muted
#837B7C

Preview Lab

Preview with #AB284F

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

Preview Lab → · Contrast checker → · Palette generator →

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