#AB1854#AB1854

#AB1854 is a mid, vivid pink. Relative luminance 0.100; OKLCH L 48.7% C 0.182 H 3.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#AB1854
RGBrgb(171, 24, 84)
HSLhsl(336, 75%, 38%)
HSVhsv(336, 86%, 67%)
CMYKcmyk(0%, 86%, 50.9%, 32.9%)
CIE-LABlab(37.76, 59.20, 4.54)
CIE-LCHlch(37.76, 59.38, 4.39°)
OKLaboklab(48.72% 0.1816 0.0121)
OKLCHoklch(48.72% 0.182 3.8)
XYZxyz(18.7232, 9.9540, 9.3212)
Luminance0.0995 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1854 #18AB6F
analogous
#AB189D #AB1854 #AB2518
triadic
#AB1854 #54AB18 #1854AB
tetradic
#AB1854 #9DAB18 #18AB6F #2518AB
square
#AB1854 #9DAB18 #18AB6F #2518AB
split-complementary
#AB1854 #18AB25 #189DAB
monochromatic
#40091F #75103A #AB1854 #E0206F #E75691

Accessibility & contrast

On white

7.02
#AB1854 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#AB1854 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #AB1854
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1854#FFFFFF#000000##FFFFFF
##AB18541.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414755
Deuteranopia (green-blind)
#686351
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1854;
/* rgb */ color: rgb(171, 24, 84);
/* oklch */ color: oklch(48.7% 0.182 3.8);
Tailwind
colors: {
  custom: {
    50: '#ca6983',
    500: '#ab1854',
    950: '#000000',
  },
}
SCSS
$custom: #ab1854;
$custom-light: #ca6983;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1854",
  "rgb": {
    "r": 171,
    "g": 24,
    "b": 84
  },
  "hsl": {
    "h": 335.51,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48723,
    "c": 0.182,
    "h": 3.8
  },
  "luminance": 0.09951
}

Semantic roles & 50–950 ramp

primary
#AB1854
secondary
#55CA9A
accent
#F2A536
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C

Preview Lab

Preview with #AB1854

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

Preview Lab → · Contrast checker → · Palette generator →

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