#AB284B#AB284B

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

Color values

HEX#AB284B
RGBrgb(171, 40, 75)
HSLhsl(344, 62%, 41%)
HSVhsv(344, 77%, 67%)
CMYKcmyk(0%, 76.6%, 56.1%, 32.9%)
CIE-LABlab(39.05, 54.18, 12.11)
CIE-LCHlch(39.05, 55.52, 12.60°)
OKLaboklab(49.59% 0.1642 0.0305)
OKLCHoklch(49.59% 0.167 10.5)
XYZxyz(18.8252, 10.6862, 7.7266)
Luminance0.1068 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB284B #28AB88
analogous
#AB288D #AB284B #AB4628
triadic
#AB284B #4BAB28 #284BAB
tetradic
#AB284B #8DAB28 #28AB88 #4628AB
square
#AB284B #8DAB28 #28AB88 #4628AB
split-complementary
#AB284B #28AB46 #288DAB
monochromatic
#48111F #791C35 #AB284B #D23E66 #DE708D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB284B#FFFFFF#000000##FFFFFF
##AB284B1.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)
#4B4B4C
Deuteranopia (green-blind)
#6D6648
Tritanopia (blue-blind)
#BB0037
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #ab284b;
/* rgb */ color: rgb(171, 40, 75);
/* oklch */ color: oklch(49.6% 0.167 10.5);
Tailwind
colors: {
  custom: {
    50: '#ca6e7d',
    500: '#ab284b',
    950: '#000000',
  },
}
SCSS
$custom: #ab284b;
$custom-light: #ca6e7d;
$custom-dark: #000000;
JSON
{
  "hex": "#ab284b",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 75
  },
  "hsl": {
    "h": 343.969,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.49594,
    "c": 0.16704,
    "h": 10.5
  },
  "luminance": 0.10684
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #AB284B

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

Preview Lab → · Contrast checker → · Palette generator →

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