#AB1C4F#AB1C4F

#AB1C4F is a mid, vivid pink. Relative luminance 0.101; OKLCH L 48.8% C 0.178 H 6.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#AB1C4F
RGBrgb(171, 28, 79)
HSLhsl(339, 72%, 39%)
HSVhsv(339, 84%, 67%)
CMYKcmyk(0%, 83.6%, 53.8%, 32.9%)
CIE-LABlab(37.94, 57.90, 8.01)
CIE-LCHlch(37.94, 58.45, 7.88°)
OKLaboklab(48.81% 0.1768 0.0207)
OKLCHoklch(48.81% 0.178 6.7)
XYZxyz(18.6229, 10.0557, 8.3559)
Luminance0.1005 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#AB1C4F #1CAB78
analogous
#AB1C97 #AB1C4F #AB301C
triadic
#AB1C4F #4FAB1C #1C4FAB
tetradic
#AB1C4F #97AB1C #1CAB78 #301CAB
square
#AB1C4F #97AB1C #1CAB78 #301CAB
split-complementary
#AB1C4F #1CAB30 #1C97AB
monochromatic
#420B1E #761337 #AB1C4F #DC2868 #E45D8D

Accessibility & contrast

On white

6.98
#AB1C4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#AB1C4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #AB1C4F
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##AB1C4F#FFFFFF#000000##FFFFFF
##AB1C4F1.006.983.016.98
#FFFFFF6.981.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444750
Deuteranopia (green-blind)
#69634C
Tritanopia (blue-blind)
#BB0033
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #ab1c4f;
/* rgb */ color: rgb(171, 28, 79);
/* oklch */ color: oklch(48.8% 0.178 6.7);
Tailwind
colors: {
  custom: {
    50: '#cb6a80',
    500: '#ab1c4f',
    950: '#000000',
  },
}
SCSS
$custom: #ab1c4f;
$custom-light: #cb6a80;
$custom-dark: #000000;
JSON
{
  "hex": "#ab1c4f",
  "rgb": {
    "r": 171,
    "g": 28,
    "b": 79
  },
  "hsl": {
    "h": 338.601,
    "s": 71.859,
    "l": 39.02
  },
  "oklch": {
    "l": 0.48812,
    "c": 0.17799,
    "h": 6.7
  },
  "luminance": 0.10053
}

Semantic roles & 50–950 ramp

primary
#AB1C4F
secondary
#5AC9A1
accent
#EFAE39
background
#FDF6F7
surface
#FAECEE
border
#D3C7C9
text
#15070A
muted
#837A7C

Preview Lab

Preview with #AB1C4F

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

Preview Lab → · Contrast checker → · Palette generator →

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