#AB2995#AB2995

#AB2995 is a mid, vivid pink. Relative luminance 0.124; OKLCH L 52.5% C 0.200 H 336.0°. Best body text is #FFFFFF at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#AB2995
RGBrgb(171, 41, 149)
HSLhsl(310, 61%, 42%)
HSVhsv(310, 76%, 67%)
CMYKcmyk(0%, 76%, 12.9%, 32.9%)
CIE-LABlab(41.87, 62.20, -29.80)
CIE-LCHlch(41.87, 68.97, 334.40°)
OKLaboklab(52.54% 0.1824 -0.0813)
OKLCHoklch(52.54% 0.2 336)
XYZxyz(23.0127, 12.4158, 29.6124)
Luminance0.1241 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2995 #29AB3F
analogous
#8029AB #AB2995 #AB2954
triadic
#AB2995 #95AB29 #2995AB
tetradic
#AB2995 #AB8029 #29AB3F #2954AB
square
#AB2995 #AB8029 #29AB3F #2954AB
split-complementary
#AB2995 #54AB29 #29AB80
monochromatic
#48113F #7A1D6A #AB2995 #D140B9 #DD71CB

Accessibility & contrast

On white

6.03
#AB2995 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#AB2995 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2995
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2995#FFFFFF#000000##FFFFFF
##AB29951.006.033.486.03
#FFFFFF6.031.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5698
Deuteranopia (green-blind)
#596A92
Tritanopia (blue-blind)
#B4335D
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2995;
/* rgb */ color: rgb(171, 41, 149);
/* oklch */ color: oklch(52.5% 0.200 336.0);
Tailwind
colors: {
  custom: {
    50: '#c871b4',
    500: '#ab2995',
    950: '#000000',
  },
}
SCSS
$custom: #ab2995;
$custom-light: #c871b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2995",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 149
  },
  "hsl": {
    "h": 310.154,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52536,
    "c": 0.19972,
    "h": 336
  },
  "luminance": 0.12414
}

Semantic roles & 50–950 ramp

primary
#AB2995
secondary
#6CC47B
accent
#E45F43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2995

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

Preview Lab → · Contrast checker → · Palette generator →

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