#AB368A#AB368A

#AB368A is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.2% C 0.177 H 341.0°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#AB368A
RGBrgb(171, 54, 138)
HSLhsl(317, 52%, 44%)
HSVhsv(317, 68%, 67%)
CMYKcmyk(0%, 68.4%, 19.3%, 32.9%)
CIE-LABlab(42.96, 56.07, -21.42)
CIE-LCHlch(42.96, 60.03, 339.09°)
OKLaboklab(53.16% 0.1673 -0.0576)
OKLCHoklch(53.16% 0.177 341)
XYZxyz(22.7018, 13.1334, 25.3792)
Luminance0.1313 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB368A #36AB57
analogous
#9236AB #AB368A #AB3650
triadic
#AB368A #8AAB36 #368AAB
tetradic
#AB368A #AB9236 #36AB57 #3650AB
square
#AB368A #AB9236 #36AB57 #3650AB
split-complementary
#AB368A #50AB36 #36AB92
monochromatic
#4E193F #7C2764 #AB368A #C955A8 #D883C0

Accessibility & contrast

On white

5.79
#AB368A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#AB368A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB368A
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB368A#FFFFFF#000000##FFFFFF
##AB368A1.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E598C
Deuteranopia (green-blind)
#626C87
Tritanopia (blue-blind)
#B5385B
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #ab368a;
/* rgb */ color: rgb(171, 54, 138);
/* oklch */ color: oklch(53.2% 0.177 341.0);
Tailwind
colors: {
  custom: {
    50: '#c776ac',
    500: '#ab368a',
    950: '#000000',
  },
}
SCSS
$custom: #ab368a;
$custom-light: #c776ac;
$custom-dark: #000000;
JSON
{
  "hex": "#ab368a",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 138
  },
  "hsl": {
    "h": 316.923,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53163,
    "c": 0.17698,
    "h": 341
  },
  "luminance": 0.13131
}

Semantic roles & 50–950 ramp

primary
#AB368A
secondary
#7BC28F
accent
#DB754C
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#140910
muted
#827B7F

Preview Lab

Preview with #AB368A

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

Preview Lab → · Contrast checker → · Palette generator →

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