#AB367C#AB367C

#AB367C is a mid, vivid pink. Relative luminance 0.128; OKLCH L 52.6% C 0.168 H 347.6°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#AB367C
RGBrgb(171, 54, 124)
HSLhsl(324, 52%, 44%)
HSVhsv(324, 68%, 67%)
CMYKcmyk(0%, 68.4%, 27.5%, 32.9%)
CIE-LABlab(42.39, 54.16, -13.73)
CIE-LCHlch(42.39, 55.87, 345.77°)
OKLaboklab(52.55% 0.1643 -0.0362)
OKLCHoklch(52.55% 0.168 347.6)
XYZxyz(21.7528, 12.7538, 20.3810)
Luminance0.1275 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB367C #36AB65
analogous
#A036AB #AB367C #AB3641
triadic
#AB367C #7CAB36 #367CAB
tetradic
#AB367C #ABA036 #36AB65 #3641AB
square
#AB367C #ABA036 #36AB65 #3641AB
split-complementary
#AB367C #41AB36 #36ABA0
monochromatic
#4E1939 #7C275A #AB367C #C9559B #D883B6

Accessibility & contrast

On white

5.92
#AB367C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#AB367C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB367C
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB367C#FFFFFF#000000##FFFFFF
##AB367C1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#45577E
Deuteranopia (green-blind)
#676B79
Tritanopia (blue-blind)
#B73254
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #ab367c;
/* rgb */ color: rgb(171, 54, 124);
/* oklch */ color: oklch(52.6% 0.168 347.6);
Tailwind
colors: {
  custom: {
    50: '#c876a2',
    500: '#ab367c',
    950: '#000000',
  },
}
SCSS
$custom: #ab367c;
$custom-light: #c876a2;
$custom-dark: #000000;
JSON
{
  "hex": "#ab367c",
  "rgb": {
    "r": 171,
    "g": 54,
    "b": 124
  },
  "hsl": {
    "h": 324.103,
    "s": 52,
    "l": 44.118
  },
  "oklch": {
    "l": 0.52555,
    "c": 0.16826,
    "h": 347.6
  },
  "luminance": 0.12751
}

Semantic roles & 50–950 ramp

primary
#AB367C
secondary
#7BC297
accent
#DB864C
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#14090F
muted
#827B7E

Preview Lab

Preview with #AB367C

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

Preview Lab → · Contrast checker → · Palette generator →

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