#AB1855#AB1855

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

Color values

HEX#AB1855
RGBrgb(171, 24, 85)
HSLhsl(335, 75%, 38%)
HSVhsv(335, 86%, 67%)
CMYKcmyk(0%, 86%, 50.3%, 32.9%)
CIE-LABlab(37.79, 59.29, 3.94)
CIE-LCHlch(37.79, 59.42, 3.80°)
OKLaboklab(48.75% 0.182 0.0106)
OKLCHoklch(48.75% 0.182 3.3)
XYZxyz(18.7626, 9.9698, 9.5289)
Luminance0.0997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1855 #18AB6E
analogous
#AB189E #AB1855 #AB2418
triadic
#AB1855 #55AB18 #1855AB
tetradic
#AB1855 #9EAB18 #18AB6E #2418AB
square
#AB1855 #9EAB18 #18AB6E #2418AB
split-complementary
#AB1855 #18AB24 #189EAB
monochromatic
#400920 #75103A #AB1855 #E02070 #E75692

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##AB1855#FFFFFF#000000##FFFFFF
##AB18551.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)
#414756
Deuteranopia (green-blind)
#676352
Tritanopia (blue-blind)
#BB0035
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1855;
/* rgb */ color: rgb(171, 24, 85);
/* oklch */ color: oklch(48.8% 0.182 3.3);
Tailwind
colors: {
  custom: {
    50: '#ca6984',
    500: '#ab1855',
    950: '#000000',
  },
}
SCSS
$custom: #ab1855;
$custom-light: #ca6984;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1855",
  "rgb": {
    "r": 171,
    "g": 24,
    "b": 85
  },
  "hsl": {
    "h": 335.102,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48753,
    "c": 0.18226,
    "h": 3.3
  },
  "luminance": 0.09967
}

Semantic roles & 50–950 ramp

primary
#AB1855
secondary
#55CA99
accent
#F2A436
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070A
muted
#837A7C

Preview Lab

Preview with #AB1855

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

Preview Lab → · Contrast checker → · Palette generator →

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