#AB2394#AB2394

#AB2394 is a mid, highly saturated pink. Relative luminance 0.120; OKLCH L 52.1% C 0.205 H 336.3°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#AB2394
RGBrgb(171, 35, 148)
HSLhsl(310, 66%, 40%)
HSVhsv(310, 80%, 67%)
CMYKcmyk(0%, 79.5%, 13.5%, 32.9%)
CIE-LABlab(41.22, 63.78, -30.22)
CIE-LCHlch(41.22, 70.58, 334.65°)
OKLaboklab(52.05% 0.1875 -0.0825)
OKLCHoklch(52.05% 0.205 336.3)
XYZxyz(22.7413, 12.0003, 29.1298)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB2394 #23AB3A
analogous
#7E23AB #AB2394 #AB2350
triadic
#AB2394 #94AB23 #2394AB
tetradic
#AB2394 #AB7E23 #23AB3A #2350AB
square
#AB2394 #AB7E23 #23AB3A #2350AB
split-complementary
#AB2394 #50AB23 #23AB7E
monochromatic
#450E3C #781968 #AB2394 #D635BB #E068CC

Accessibility & contrast

On white

6.18
#AB2394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#AB2394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB2394
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB2394#FFFFFF#000000##FFFFFF
##AB23941.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265497
Deuteranopia (green-blind)
#586891
Tritanopia (blue-blind)
#B42E5B
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #ab2394;
/* rgb */ color: rgb(171, 35, 148);
/* oklch */ color: oklch(52.1% 0.205 336.3);
Tailwind
colors: {
  custom: {
    50: '#c86fb4',
    500: '#ab2394',
    950: '#000000',
  },
}
SCSS
$custom: #ab2394;
$custom-light: #c86fb4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab2394",
  "rgb": {
    "r": 171,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 310.147,
    "s": 66.019,
    "l": 40.392
  },
  "oklch": {
    "l": 0.52051,
    "c": 0.20484,
    "h": 336.3
  },
  "luminance": 0.11998
}

Semantic roles & 50–950 ramp

primary
#AB2394
secondary
#64C674
accent
#E95C3F
background
#FCF7FB
surface
#F9EDF6
border
#D2C8D0
text
#140811
muted
#827B80

Preview Lab

Preview with #AB2394

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

Preview Lab → · Contrast checker → · Palette generator →

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