#AB2867#AB2867

#AB2867 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.4% C 0.175 H 356.4°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#AB2867
RGBrgb(171, 40, 103)
HSLhsl(331, 62%, 41%)
HSVhsv(331, 77%, 67%)
CMYKcmyk(0%, 76.6%, 39.8%, 32.9%)
CIE-LABlab(39.84, 56.70, -4.49)
CIE-LCHlch(39.84, 56.88, 355.47°)
OKLaboklab(50.44% 0.1742 -0.0111)
OKLCHoklch(50.44% 0.175 356.4)
XYZxyz(20.0030, 11.1573, 13.9296)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2867 #28AB6C
analogous
#AB28A9 #AB2867 #AB2B28
triadic
#AB2867 #67AB28 #2867AB
tetradic
#AB2867 #A9AB28 #28AB6C #2B28AB
square
#AB2867 #A9AB28 #28AB6C #2B28AB
split-complementary
#AB2867 #28AB2B #28A9AB
monochromatic
#48112B #791C49 #AB2867 #D23E85 #DE70A5

Accessibility & contrast

On white

6.50
#AB2867 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#AB2867 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2867
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2867#FFFFFF#000000##FFFFFF
##AB28671.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#434E69
Deuteranopia (green-blind)
#676764
Tritanopia (blue-blind)
#B91644
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2867;
/* rgb */ color: rgb(171, 40, 103);
/* oklch */ color: oklch(50.4% 0.175 356.4);
Tailwind
colors: {
  custom: {
    50: '#c96f92',
    500: '#ab2867',
    950: '#000000',
  },
}
SCSS
$custom: #ab2867;
$custom-light: #c96f92;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2867",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 103
  },
  "hsl": {
    "h": 331.145,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50441,
    "c": 0.17458,
    "h": 356.4
  },
  "luminance": 0.11155
}

Semantic roles & 50–950 ramp

primary
#AB2867
secondary
#6AC499
accent
#E59743
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080D
muted
#837B7D

Preview Lab

Preview with #AB2867

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

Preview Lab → · Contrast checker → · Palette generator →

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