#AB2093#AB2093

#AB2093 is a mid, highly saturated pink. Relative luminance 0.118; OKLCH L 51.8% C 0.207 H 336.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#AB2093
RGBrgb(171, 32, 147)
HSLhsl(310, 68%, 40%)
HSVhsv(310, 81%, 67%)
CMYKcmyk(0%, 81.3%, 14%, 32.9%)
CIE-LABlab(40.90, 64.42, -30.12)
CIE-LCHlch(40.90, 71.11, 334.94°)
OKLaboklab(51.81% 0.1898 -0.0822)
OKLCHoklch(51.81% 0.207 336.6)
XYZxyz(22.5780, 11.7997, 28.6866)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2093 #20AB38
analogous
#7E20AB #AB2093 #AB204D
triadic
#AB2093 #93AB20 #2093AB
tetradic
#AB2093 #AB7E20 #20AB38 #204DAB
square
#AB2093 #AB7E20 #20AB38 #204DAB
split-complementary
#AB2093 #4DAB20 #20AB7E
monochromatic
#440D3A #771667 #AB2093 #D830BB #E263CC

Accessibility & contrast

On white

6.25
#AB2093 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#AB2093 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2093
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2093#FFFFFF#000000##FFFFFF
##AB20931.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245396
Deuteranopia (green-blind)
#576890
Tritanopia (blue-blind)
#B42B59
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #ab2093;
/* rgb */ color: rgb(171, 32, 147);
/* oklch */ color: oklch(51.8% 0.207 336.6);
Tailwind
colors: {
  custom: {
    50: '#c86eb3',
    500: '#ab2093',
    950: '#000000',
  },
}
SCSS
$custom: #ab2093;
$custom-light: #c86eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2093",
  "rgb": {
    "r": 171,
    "g": 32,
    "b": 147
  },
  "hsl": {
    "h": 310.36,
    "s": 68.473,
    "l": 39.804
  },
  "oklch": {
    "l": 0.51805,
    "c": 0.20678,
    "h": 336.6
  },
  "luminance": 0.11798
}

Semantic roles & 50–950 ramp

primary
#AB2093
secondary
#60C772
accent
#EB5B3C
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2093

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

Preview Lab → · Contrast checker → · Palette generator →

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