#AB2999#AB2999

#AB2999 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.7% C 0.203 H 334.4°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#AB2999
RGBrgb(171, 41, 153)
HSLhsl(308, 61%, 42%)
HSVhsv(308, 76%, 67%)
CMYKcmyk(0%, 76%, 10.5%, 32.9%)
CIE-LABlab(42.07, 62.79, -31.91)
CIE-LCHlch(42.07, 70.43, 333.06°)
OKLaboklab(52.75% 0.1827 -0.0873)
OKLCHoklch(52.75% 0.203 334.4)
XYZxyz(23.3375, 12.5458, 31.3233)
Luminance0.1254 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2999 #29AB3B
analogous
#7C29AB #AB2999 #AB2958
triadic
#AB2999 #99AB29 #2999AB
tetradic
#AB2999 #AB7C29 #29AB3B #2958AB
square
#AB2999 #AB7C29 #29AB3B #2958AB
split-complementary
#AB2999 #58AB29 #29AB7C
monochromatic
#481141 #7A1D6D #AB2999 #D140BD #DD71CE

Accessibility & contrast

On white

5.98
#AB2999 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#AB2999 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2999
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2999#FFFFFF#000000##FFFFFF
##AB29991.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#27579C
Deuteranopia (green-blind)
#576A96
Tritanopia (blue-blind)
#B3355F
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #ab2999;
/* rgb */ color: rgb(171, 41, 153);
/* oklch */ color: oklch(52.7% 0.203 334.4);
Tailwind
colors: {
  custom: {
    50: '#c871b7',
    500: '#ab2999',
    950: '#000000',
  },
}
SCSS
$custom: #ab2999;
$custom-light: #c871b7;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2999",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 153
  },
  "hsl": {
    "h": 308.308,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.52746,
    "c": 0.20253,
    "h": 334.4
  },
  "luminance": 0.12544
}

Semantic roles & 50–950 ramp

primary
#AB2999
secondary
#6CC478
accent
#E45A43
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140911
muted
#827B80

Preview Lab

Preview with #AB2999

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

Preview Lab → · Contrast checker → · Palette generator →

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