#AB295E#AB295E

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

Color values

HEX#AB295E
RGBrgb(171, 41, 94)
HSLhsl(336, 61%, 42%)
HSVhsv(336, 76%, 67%)
CMYKcmyk(0%, 76%, 45%, 32.9%)
CIE-LABlab(39.67, 55.48, 0.93)
CIE-LCHlch(39.67, 55.49, 0.96°)
OKLaboklab(50.22% 0.1703 0.003)
OKLCHoklch(50.22% 0.17 1)
XYZxyz(19.6094, 11.0545, 11.6886)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB295E #29AB76
analogous
#AB299F #AB295E #AB3529
triadic
#AB295E #5EAB29 #295EAB
tetradic
#AB295E #9FAB29 #29AB76 #3529AB
square
#AB295E #9FAB29 #29AB76 #3529AB
split-complementary
#AB295E #29AB35 #299FAB
monochromatic
#481128 #7A1D43 #AB295E #D1407B #DD719D

Accessibility & contrast

On white

6.54
#AB295E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#AB295E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB295E
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB295E#FFFFFF#000000##FFFFFF
##AB295E1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5F
Deuteranopia (green-blind)
#6A675B
Tritanopia (blue-blind)
#BA1040
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #ab295e;
/* rgb */ color: rgb(171, 41, 94);
/* oklch */ color: oklch(50.2% 0.170 1.0);
Tailwind
colors: {
  custom: {
    50: '#c96f8b',
    500: '#ab295e',
    950: '#000000',
  },
}
SCSS
$custom: #ab295e;
$custom-light: #c96f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#ab295e",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 94
  },
  "hsl": {
    "h": 335.538,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50221,
    "c": 0.17028,
    "h": 1
  },
  "luminance": 0.11052
}

Semantic roles & 50–950 ramp

primary
#AB295E
secondary
#6CC4A0
accent
#E4A343
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB295E

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

Preview Lab → · Contrast checker → · Palette generator →

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