#AB295C#AB295C

#AB295C is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.170 H 2.0°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#AB295C
RGBrgb(171, 41, 92)
HSLhsl(336, 61%, 42%)
HSVhsv(336, 76%, 67%)
CMYKcmyk(0%, 76%, 46.2%, 32.9%)
CIE-LABlab(39.61, 55.29, 2.11)
CIE-LCHlch(39.61, 55.33, 2.19°)
OKLaboklab(50.16% 0.1696 0.006)
OKLCHoklch(50.16% 0.17 2)
XYZxyz(19.5209, 11.0191, 11.2221)
Luminance0.1102 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB295C #29AB78
analogous
#AB299D #AB295C #AB3729
triadic
#AB295C #5CAB29 #295CAB
tetradic
#AB295C #9DAB29 #29AB78 #3729AB
square
#AB295C #9DAB29 #29AB78 #3729AB
split-complementary
#AB295C #29AB37 #299DAB
monochromatic
#481127 #7A1D41 #AB295C #D14079 #DD719C

Accessibility & contrast

On white

6.56
#AB295C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB295C
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB295C#FFFFFF#000000##FFFFFF
##AB295C1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#6A6659
Tritanopia (blue-blind)
#BA0E3F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab295c;
/* rgb */ color: rgb(171, 41, 92);
/* oklch */ color: oklch(50.2% 0.170 2.0);
Tailwind
colors: {
  custom: {
    50: '#c96f8a',
    500: '#ab295c',
    950: '#000000',
  },
}
SCSS
$custom: #ab295c;
$custom-light: #c96f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#ab295c",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 92
  },
  "hsl": {
    "h": 336.462,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50158,
    "c": 0.16966,
    "h": 2
  },
  "luminance": 0.11017
}

Semantic roles & 50–950 ramp

primary
#AB295C
secondary
#6CC4A1
accent
#E4A543
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB295C

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

Preview Lab → · Contrast checker → · Palette generator →

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