#AB2875#AB2875

#AB2875 is a mid, vivid pink. Relative luminance 0.115; OKLCH L 51.0% C 0.181 H 349.6°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#AB2875
RGBrgb(171, 40, 117)
HSLhsl(325, 62%, 41%)
HSVhsv(325, 77%, 67%)
CMYKcmyk(0%, 76.6%, 31.6%, 32.9%)
CIE-LABlab(40.35, 58.26, -12.50)
CIE-LCHlch(40.35, 59.59, 347.89°)
OKLaboklab(50.97% 0.1781 -0.0327)
OKLCHoklch(50.97% 0.181 349.6)
XYZxyz(20.7654, 11.4623, 17.9451)
Luminance0.1146 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2875 #28AB5E
analogous
#A028AB #AB2875 #AB2834
triadic
#AB2875 #75AB28 #2875AB
tetradic
#AB2875 #ABA028 #28AB5E #2834AB
square
#AB2875 #ABA028 #28AB5E #2834AB
split-complementary
#AB2875 #34AB28 #28ABA0
monochromatic
#481131 #791C53 #AB2875 #D23E95 #DE70B0

Accessibility & contrast

On white

6.38
#AB2875 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#AB2875 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2875
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2875#FFFFFF#000000##FFFFFF
##AB28751.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5077
Deuteranopia (green-blind)
#646772
Tritanopia (blue-blind)
#B8204B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #ab2875;
/* rgb */ color: rgb(171, 40, 117);
/* oklch */ color: oklch(51.0% 0.181 349.6);
Tailwind
colors: {
  custom: {
    50: '#c86f9c',
    500: '#ab2875',
    950: '#000000',
  },
}
SCSS
$custom: #ab2875;
$custom-light: #c86f9c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2875",
  "rgb": {
    "r": 171,
    "g": 40,
    "b": 117
  },
  "hsl": {
    "h": 324.733,
    "s": 62.085,
    "l": 41.373
  },
  "oklch": {
    "l": 0.50974,
    "c": 0.18107,
    "h": 349.6
  },
  "luminance": 0.1146
}

Semantic roles & 50–950 ramp

primary
#AB2875
secondary
#6AC48F
accent
#E58643
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14080E
muted
#827B7E

Preview Lab

Preview with #AB2875

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

Preview Lab → · Contrast checker → · Palette generator →

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