#AB295B#AB295B

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

Color values

HEX#AB295B
RGBrgb(171, 41, 91)
HSLhsl(337, 61%, 42%)
HSVhsv(337, 76%, 67%)
CMYKcmyk(0%, 76%, 46.8%, 32.9%)
CIE-LABlab(39.58, 55.20, 2.70)
CIE-LCHlch(39.58, 55.26, 2.80°)
OKLaboklab(50.13% 0.1692 0.0075)
OKLCHoklch(50.13% 0.169 2.6)
XYZxyz(19.4774, 11.0017, 10.9934)
Luminance0.1100 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB295B #29AB79
analogous
#AB299C #AB295B #AB3829
triadic
#AB295B #5BAB29 #295BAB
tetradic
#AB295B #9CAB29 #29AB79 #3829AB
square
#AB295B #9CAB29 #29AB79 #3829AB
split-complementary
#AB295B #29AB38 #299CAB
monochromatic
#481126 #7A1D41 #AB295B #D14078 #DD719B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB295B#FFFFFF#000000##FFFFFF
##AB295B1.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)
#484D5C
Deuteranopia (green-blind)
#6A6658
Tritanopia (blue-blind)
#BA0D3F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab295b;
/* rgb */ color: rgb(171, 41, 91);
/* oklch */ color: oklch(50.1% 0.169 2.6);
Tailwind
colors: {
  custom: {
    50: '#ca6f89',
    500: '#ab295b',
    950: '#000000',
  },
}
SCSS
$custom: #ab295b;
$custom-light: #ca6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#ab295b",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 91
  },
  "hsl": {
    "h": 336.923,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50127,
    "c": 0.16937,
    "h": 2.6
  },
  "luminance": 0.10999
}

Semantic roles & 50–950 ramp

primary
#AB295B
secondary
#6CC4A2
accent
#E4A643
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080B
muted
#837B7C

Preview Lab

Preview with #AB295B

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

Preview Lab → · Contrast checker → · Palette generator →

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