#AB458E#AB458E

#AB458E is a mid, vivid pink. Relative luminance 0.149; OKLCH L 55.0% C 0.158 H 340.2°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#AB458E
RGBrgb(171, 69, 142)
HSLhsl(317, 43%, 47%)
HSVhsv(317, 60%, 67%)
CMYKcmyk(0%, 59.6%, 17%, 32.9%)
CIE-LABlab(45.45, 50.28, -20.01)
CIE-LCHlch(45.45, 54.12, 338.30°)
OKLaboklab(55.04% 0.1489 -0.0537)
OKLCHoklch(55.04% 0.158 340.2)
XYZxyz(23.8057, 14.8692, 27.2022)
Luminance0.1487 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB458E #45AB62
analogous
#9545AB #AB458E #AB455B
triadic
#AB458E #8EAB45 #458EAB
tetradic
#AB458E #AB9545 #45AB62 #455BAB
square
#AB458E #AB9545 #45AB62 #455BAB
split-complementary
#AB458E #5BAB45 #45AB95
monochromatic
#542246 #7F336A #AB458E #C36AAA #D596C3

Accessibility & contrast

On white

5.29
#AB458E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#AB458E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB458E
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB458E#FFFFFF#000000##FFFFFF
##AB458E1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A6190
Deuteranopia (green-blind)
#68728B
Tritanopia (blue-blind)
#B44763
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #ab458e;
/* rgb */ color: rgb(171, 69, 142);
/* oklch */ color: oklch(55.0% 0.158 340.2);
Tailwind
colors: {
  custom: {
    50: '#c77eaf',
    500: '#ab458e',
    950: '#000000',
  },
}
SCSS
$custom: #ab458e;
$custom-light: #c77eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#ab458e",
  "rgb": {
    "r": 171,
    "g": 69,
    "b": 142
  },
  "hsl": {
    "h": 317.059,
    "s": 42.5,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55044,
    "c": 0.15833,
    "h": 340.2
  },
  "luminance": 0.14867
}

Semantic roles & 50–950 ramp

primary
#AB458E
secondary
#8BC09A
accent
#D27956
background
#FCF8FA
surface
#F8EFF4
border
#D1CACE
text
#130A10
muted
#827C7F

Preview Lab

Preview with #AB458E

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

Preview Lab → · Contrast checker → · Palette generator →

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