#AB295A#AB295A

#AB295A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.1% C 0.169 H 3.1°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#AB295A
RGBrgb(171, 41, 90)
HSLhsl(337, 61%, 42%)
HSVhsv(337, 76%, 67%)
CMYKcmyk(0%, 76%, 47.4%, 32.9%)
CIE-LABlab(39.55, 55.11, 3.30)
CIE-LCHlch(39.55, 55.21, 3.42°)
OKLaboklab(50.1% 0.1688 0.009)
OKLCHoklch(50.1% 0.169 3.1)
XYZxyz(19.4346, 10.9846, 10.7677)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB295A #29AB7A
analogous
#AB299B #AB295A #AB3929
triadic
#AB295A #5AAB29 #295AAB
tetradic
#AB295A #9BAB29 #29AB7A #3929AB
square
#AB295A #9BAB29 #29AB7A #3929AB
split-complementary
#AB295A #29AB39 #299BAB
monochromatic
#481126 #7A1D40 #AB295A #D14077 #DD719A

Accessibility & contrast

On white

6.57
#AB295A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#AB295A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB295A
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB295A#FFFFFF#000000##FFFFFF
##AB295A1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#6A6657
Tritanopia (blue-blind)
#BA0C3E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab295a;
/* rgb */ color: rgb(171, 41, 90);
/* oklch */ color: oklch(50.1% 0.169 3.1);
Tailwind
colors: {
  custom: {
    50: '#ca6f88',
    500: '#ab295a',
    950: '#000000',
  },
}
SCSS
$custom: #ab295a;
$custom-light: #ca6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#ab295a",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 90
  },
  "hsl": {
    "h": 337.385,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50096,
    "c": 0.16908,
    "h": 3.1
  },
  "luminance": 0.10982
}

Semantic roles & 50–950 ramp

primary
#AB295A
secondary
#6CC4A3
accent
#E4A843
background
#FDF7F8
surface
#FAEDEF
border
#D3C8CA
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB295A

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

Preview Lab → · Contrast checker → · Palette generator →

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