#AB1857#AB1857

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

Color values

HEX#AB1857
RGBrgb(171, 24, 87)
HSLhsl(334, 75%, 38%)
HSVhsv(334, 86%, 67%)
CMYKcmyk(0%, 86%, 49.1%, 32.9%)
CIE-LABlab(37.85, 59.45, 2.74)
CIE-LCHlch(37.85, 59.52, 2.64°)
OKLaboklab(48.81% 0.1827 0.0076)
OKLCHoklch(48.81% 0.183 2.4)
XYZxyz(18.8432, 10.0020, 9.9533)
Luminance0.1000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1857 #18AB6C
analogous
#AB18A0 #AB1857 #AB2318
triadic
#AB1857 #57AB18 #1857AB
tetradic
#AB1857 #A0AB18 #18AB6C #2318AB
square
#AB1857 #A0AB18 #18AB6C #2318AB
split-complementary
#AB1857 #18AB23 #18A0AB
monochromatic
#400920 #75103C #AB1857 #E02072 #E75694

Accessibility & contrast

On white

7.00
#AB1857 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

3.00
#AB1857 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1857
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1857#FFFFFF#000000##FFFFFF
##AB18571.007.003.007.00
#FFFFFF7.001.0021.001.00
#0000003.0021.001.0021.00
##FFFFFF7.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#414758
Deuteranopia (green-blind)
#676354
Tritanopia (blue-blind)
#BA0036
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1857;
/* rgb */ color: rgb(171, 24, 87);
/* oklch */ color: oklch(48.8% 0.183 2.4);
Tailwind
colors: {
  custom: {
    50: '#ca6986',
    500: '#ab1857',
    950: '#000000',
  },
}
SCSS
$custom: #ab1857;
$custom-light: #ca6986;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1857",
  "rgb": {
    "r": 171,
    "g": 24,
    "b": 87
  },
  "hsl": {
    "h": 334.286,
    "s": 75.385,
    "l": 38.235
  },
  "oklch": {
    "l": 0.48814,
    "c": 0.18281,
    "h": 2.4
  },
  "luminance": 0.09999
}

Semantic roles & 50–950 ramp

primary
#AB1857
secondary
#55CA98
accent
#F2A136
background
#FDF6F8
surface
#FAECEF
border
#D3C7CA
text
#14070B
muted
#837A7C

Preview Lab

Preview with #AB1857

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

Preview Lab → · Contrast checker → · Palette generator →

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