#AB2865#AB2865

#AB2865 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.4% C 0.174 H 357.3°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#AB2865
RGBrgb(171, 40, 101)
HSLhsl(332, 62%, 41%)
HSVhsv(332, 77%, 67%)
CMYKcmyk(0%, 76.6%, 40.9%, 32.9%)
CIE-LABlab(39.78, 56.50, -3.33)
CIE-LCHlch(39.78, 56.59, 356.63°)
OKLaboklab(50.37% 0.1736 -0.008)
OKLCHoklch(50.37% 0.174 357.3)
XYZxyz(19.9038, 11.1176, 13.4072)
Luminance0.1111 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2865 #28AB6E
analogous
#AB28A7 #AB2865 #AB2D28
triadic
#AB2865 #65AB28 #2865AB
tetradic
#AB2865 #A7AB28 #28AB6E #2D28AB
square
#AB2865 #A7AB28 #28AB6E #2D28AB
split-complementary
#AB2865 #28AB2D #28A7AB
monochromatic
#48112A #791C48 #AB2865 #D23E83 #DE70A3

Accessibility & contrast

On white

6.52
#AB2865 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#AB2865 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2865
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2865#FFFFFF#000000##FFFFFF
##AB28651.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444E67
Deuteranopia (green-blind)
#686762
Tritanopia (blue-blind)
#B91443
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab2865;
/* rgb */ color: rgb(171, 40, 101);
/* oklch */ color: oklch(50.4% 0.174 357.3);
Tailwind
colors: {
  custom: {
    50: '#c96f90',
    500: '#ab2865',
    950: '#000000',
  },
}
SCSS
$custom: #ab2865;
$custom-light: #c96f90;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2865",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 101
  },
  "hsl": {
    "h": 332.061,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50371,
    "c": 0.17379,
    "h": 357.3
  },
  "luminance": 0.11115
}

Semantic roles & 50–950 ramp

primary
#AB2865
secondary
#6AC49A
accent
#E59943
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB2865

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

Preview Lab → · Contrast checker → · Palette generator →

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