#AB295F#AB295F

#AB295F is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.3% C 0.171 H 0.5°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#AB295F
RGBrgb(171, 41, 95)
HSLhsl(335, 61%, 42%)
HSVhsv(335, 76%, 67%)
CMYKcmyk(0%, 76%, 44.4%, 32.9%)
CIE-LABlab(39.70, 55.58, 0.35)
CIE-LCHlch(39.70, 55.58, 0.36°)
OKLaboklab(50.25% 0.1706 0.0015)
OKLCHoklch(50.25% 0.171 0.5)
XYZxyz(19.6546, 11.0726, 11.9265)
Luminance0.1107 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB295F #29AB75
analogous
#AB29A0 #AB295F #AB3429
triadic
#AB295F #5FAB29 #295FAB
tetradic
#AB295F #A0AB29 #29AB75 #3429AB
square
#AB295F #A0AB29 #29AB75 #3429AB
split-complementary
#AB295F #29AB34 #29A0AB
monochromatic
#481128 #7A1D44 #AB295F #D1407C #DD719E

Accessibility & contrast

On white

6.53
#AB295F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #AB295F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB295F#FFFFFF#000000##FFFFFF
##AB295F1.006.533.216.53
#FFFFFF6.531.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#464E60
Deuteranopia (green-blind)
#69675C
Tritanopia (blue-blind)
#BA1140
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #ab295f;
/* rgb */ color: rgb(171, 41, 95);
/* oklch */ color: oklch(50.3% 0.171 0.5);
Tailwind
colors: {
  custom: {
    50: '#c96f8c',
    500: '#ab295f',
    950: '#000000',
  },
}
SCSS
$custom: #ab295f;
$custom-light: #c96f8c;
$custom-dark: #000000;
JSON
{
  "hex": "#ab295f",
  "rgb": {
    "r": 171,
    "g": 41,
    "b": 95
  },
  "hsl": {
    "h": 335.077,
    "s": 61.321,
    "l": 41.569
  },
  "oklch": {
    "l": 0.50253,
    "c": 0.1706,
    "h": 0.5
  },
  "luminance": 0.1107
}

Semantic roles & 50–950 ramp

primary
#AB295F
secondary
#6CC49F
accent
#E4A243
background
#FDF7F8
surface
#FAEDF0
border
#D3C8CB
text
#14080C
muted
#837B7D

Preview Lab

Preview with #AB295F

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

Preview Lab → · Contrast checker → · Palette generator →

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