#AB367F#AB367F

#AB367F is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.7% C 0.170 H 346.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#AB367F
RGBrgb(171, 54, 127)
HSLhsl(323, 52%, 44%)
HSVhsv(323, 68%, 67%)
CMYKcmyk(0%, 68.4%, 25.7%, 32.9%)
CIE-LABlab(42.51, 54.55, -15.40)
CIE-LCHlch(42.51, 56.69, 344.24°)
OKLaboklab(52.68% 0.1651 -0.0408)
OKLCHoklch(52.68% 0.17 346.1)
XYZxyz(21.9454, 12.8308, 21.3954)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB367F #36AB62
analogous
#9D36AB #AB367F #AB3645
triadic
#AB367F #7FAB36 #367FAB
tetradic
#AB367F #AB9D36 #36AB62 #3645AB
square
#AB367F #AB9D36 #36AB62 #3645AB
split-complementary
#AB367F #45AB36 #36AB9D
monochromatic
#4E193A #7C275C #AB367F #C9559E #D883B8

Accessibility & contrast

On white

5.89
#AB367F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#AB367F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB367F
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB367F#FFFFFF#000000##FFFFFF
##AB367F1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#445881
Deuteranopia (green-blind)
#666C7C
Tritanopia (blue-blind)
#B63455
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab367f;
/* rgb */ color: rgb(171, 54, 127);
/* oklch */ color: oklch(52.7% 0.170 346.1);
Tailwind
colors: {
  custom: {
    50: '#c876a4',
    500: '#ab367f',
    950: '#000000',
  },
}
SCSS
$custom: #ab367f;
$custom-light: #c876a4;
$custom-dark: #000000;
JSON
{
  "hex": "#ab367f",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 127
  },
  "hsl": {
    "h": 322.564,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5268,
    "c": 0.17001,
    "h": 346.1
  },
  "luminance": 0.12829
}

Semantic roles & 50–950 ramp

primary
#AB367F
secondary
#7BC296
accent
#DB824C
background
#FCF7FA
surface
#F9EDF4
border
#D2C8CE
text
#14090F
muted
#827B7F

Preview Lab

Preview with #AB367F

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

Preview Lab → · Contrast checker → · Palette generator →

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