#AB438B#AB438B

#AB438B is a mid, vivid pink. Relative luminance 0.145; OKLCH L 54.7% C 0.159 H 341.5°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#AB438B
RGBrgb(171, 67, 139)
HSLhsl(318, 44%, 47%)
HSVhsv(318, 61%, 67%)
CMYKcmyk(0%, 60.8%, 18.7%, 32.9%)
CIE-LABlab(45.00, 50.74, -18.90)
CIE-LCHlch(45.00, 54.15, 339.57°)
OKLaboklab(54.67% 0.151 -0.0506)
OKLCHoklch(54.67% 0.159 341.5)
XYZxyz(23.4625, 14.5384, 25.9916)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB438B #43AB63
analogous
#9743AB #AB438B #AB4357
triadic
#AB438B #8BAB43 #438BAB
tetradic
#AB438B #AB9743 #43AB63 #4357AB
square
#AB438B #AB9743 #43AB63 #4357AB
split-complementary
#AB438B #57AB43 #43AB97
monochromatic
#532144 #7F3267 #AB438B #C468A7 #D594C1

Accessibility & contrast

On white

5.37
#AB438B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#AB438B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB438B
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB438B#FFFFFF#000000##FFFFFF
##AB438B1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A608D
Deuteranopia (green-blind)
#687188
Tritanopia (blue-blind)
#B54461
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #ab438b;
/* rgb */ color: rgb(171, 67, 139);
/* oklch */ color: oklch(54.7% 0.159 341.5);
Tailwind
colors: {
  custom: {
    50: '#c77dad',
    500: '#ab438b',
    950: '#000000',
  },
}
SCSS
$custom: #ab438b;
$custom-light: #c77dad;
$custom-dark: #000000;
JSON
{
  "hex": "#ab438b",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 139
  },
  "hsl": {
    "h": 318.462,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54666,
    "c": 0.15926,
    "h": 341.5
  },
  "luminance": 0.14536
}

Semantic roles & 50–950 ramp

primary
#AB438B
secondary
#89C09A
accent
#D37B54
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB438B

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

Preview Lab → · Contrast checker → · Palette generator →

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