#AB388E#AB388E

#AB388E is a mid, vivid pink. Relative luminance 0.134; OKLCH L 53.6% C 0.177 H 339.3°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#AB388E
RGBrgb(171, 56, 142)
HSLhsl(315, 51%, 45%)
HSVhsv(315, 67%, 67%)
CMYKcmyk(0%, 67.3%, 17%, 32.9%)
CIE-LABlab(43.42, 55.87, -23.15)
CIE-LCHlch(43.42, 60.47, 337.50°)
OKLaboklab(53.55% 0.1657 -0.0625)
OKLCHoklch(53.55% 0.177 339.3)
XYZxyz(23.0918, 13.4414, 26.9642)
Luminance0.1344 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB388E #38AB55
analogous
#8E38AB #AB388E #AB3855
triadic
#AB388E #8EAB38 #388EAB
tetradic
#AB388E #AB8E38 #38AB55 #3855AB
square
#AB388E #AB8E38 #38AB55 #3855AB
split-complementary
#AB388E #55AB38 #38AB8E
monochromatic
#4F1A41 #7D2968 #AB388E #C858AC #D786C3

Accessibility & contrast

On white

5.69
#AB388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#AB388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB388E
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB388E#FFFFFF#000000##FFFFFF
##AB388E1.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E5B91
Deuteranopia (green-blind)
#626D8B
Tritanopia (blue-blind)
#B53C5E
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #ab388e;
/* rgb */ color: rgb(171, 56, 142);
/* oklch */ color: oklch(53.6% 0.177 339.3);
Tailwind
colors: {
  custom: {
    50: '#c777af',
    500: '#ab388e',
    950: '#000000',
  },
}
SCSS
$custom: #ab388e;
$custom-light: #c777af;
$custom-dark: #000000;
JSON
{
  "hex": "#ab388e",
  "rgb": {
    "r": 171,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 315.13,
    "s": 50.661,
    "l": 44.51
  },
  "oklch": {
    "l": 0.53553,
    "c": 0.17706,
    "h": 339.3
  },
  "luminance": 0.13439
}

Semantic roles & 50–950 ramp

primary
#AB388E
secondary
#7DC18F
accent
#DA714E
background
#FCF7FA
surface
#F9EEF4
border
#D2C9CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #AB388E

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

Preview Lab → · Contrast checker → · Palette generator →

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