#AB2694#AB2694

#AB2694 is a mid, highly saturated pink. Relative luminance 0.122; OKLCH L 52.3% C 0.202 H 336.3°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).

Color values

HEX#AB2694
RGBrgb(171, 38, 148)
HSLhsl(310, 64%, 41%)
HSVhsv(310, 78%, 67%)
CMYKcmyk(0%, 77.8%, 13.5%, 32.9%)
CIE-LABlab(41.51, 62.95, -29.77)
CIE-LCHlch(41.51, 69.63, 334.69°)
OKLaboklab(52.26% 0.185 -0.0812)
OKLCHoklch(52.26% 0.202 336.3)
XYZxyz(22.8334, 12.1844, 29.1605)
Luminance0.1218 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2694 #26AB3D
analogous
#7F26AB #AB2694 #AB2651
triadic
#AB2694 #94AB26 #2694AB
tetradic
#AB2694 #AB7F26 #26AB3D #2651AB
square
#AB2694 #AB7F26 #26AB3D #2651AB
split-complementary
#AB2694 #51AB26 #26AB7F
monochromatic
#47103D #791B69 #AB2694 #D33BB9 #DF6DCB

Accessibility & contrast

On white

6.11
#AB2694 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#AB2694 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2694
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2694#FFFFFF#000000##FFFFFF
##AB26941.006.113.446.11
#FFFFFF6.111.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295597
Deuteranopia (green-blind)
#596991
Tritanopia (blue-blind)
#B4305B
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #ab2694;
/* rgb */ color: rgb(171, 38, 148);
/* oklch */ color: oklch(52.3% 0.202 336.3);
Tailwind
colors: {
  custom: {
    50: '#c870b4',
    500: '#ab2694',
    950: '#000000',
  },
}
SCSS
$custom: #ab2694;
$custom-light: #c870b4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2694",
  "rgb": {
    "r": 171,
    "g": 38,
    "b": 148
  },
  "hsl": {
    "h": 310.376,
    "s": 63.636,
    "l": 40.98
  },
  "oklch": {
    "l": 0.5226,
    "c": 0.20203,
    "h": 336.3
  },
  "luminance": 0.12182
}

Semantic roles & 50–950 ramp

primary
#AB2694
secondary
#68C578
accent
#E75E41
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2694

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

Preview Lab → · Contrast checker → · Palette generator →

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