#AB438E#AB438E

#AB438E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 54.8% C 0.161 H 340.0°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).

Color values

HEX#AB438E
RGBrgb(171, 67, 142)
HSLhsl(317, 44%, 47%)
HSVhsv(317, 61%, 67%)
CMYKcmyk(0%, 60.8%, 17%, 32.9%)
CIE-LABlab(45.12, 51.19, -20.52)
CIE-LCHlch(45.12, 55.15, 338.15°)
OKLaboklab(54.8% 0.1517 -0.0552)
OKLCHoklch(54.8% 0.161 340)
XYZxyz(23.6847, 14.6273, 27.1619)
Luminance0.1462 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB438E #43AB60
analogous
#9443AB #AB438E #AB435A
triadic
#AB438E #8EAB43 #438EAB
tetradic
#AB438E #AB9443 #43AB60 #435AAB
square
#AB438E #AB9443 #43AB60 #435AAB
split-complementary
#AB438E #5AAB43 #43AB94
monochromatic
#532145 #7F3269 #AB438E #C468AA #D594C3

Accessibility & contrast

On white

5.35
#AB438E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#AB438E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB438E
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB438E#FFFFFF#000000##FFFFFF
##AB438E1.005.353.925.35
#FFFFFF5.351.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#486090
Deuteranopia (green-blind)
#67718B
Tritanopia (blue-blind)
#B44562
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #ab438e;
/* rgb */ color: rgb(171, 67, 142);
/* oklch */ color: oklch(54.8% 0.161 340.0);
Tailwind
colors: {
  custom: {
    50: '#c77daf',
    500: '#ab438e',
    950: '#000000',
  },
}
SCSS
$custom: #ab438e;
$custom-light: #c77daf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab438e",
  "rgb": {
    "r": 171,
    "g": 67,
    "b": 142
  },
  "hsl": {
    "h": 316.731,
    "s": 43.697,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.16138,
    "h": 340
  },
  "luminance": 0.14625
}

Semantic roles & 50–950 ramp

primary
#AB438E
secondary
#89C099
accent
#D37854
background
#FCF7FA
surface
#F8EEF4
border
#D1C9CE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB438E

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

Preview Lab → · Contrast checker → · Palette generator →

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