#A01787#A01787

#A01787 is a mid, highly saturated pink. Relative luminance 0.098; OKLCH L 48.8% C 0.200 H 337.5°. Best body text is #FFFFFF at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#A01787
RGBrgb(160, 23, 135)
HSLhsl(311, 75%, 36%)
HSVhsv(311, 86%, 63%)
CMYKcmyk(0%, 85.6%, 15.6%, 37.3%)
CIE-LABlab(37.55, 62.44, -28.16)
CIE-LCHlch(37.55, 68.50, 335.73°)
OKLaboklab(48.84% 0.1849 -0.0767)
OKLCHoklch(48.84% 0.2 337.5)
XYZxyz(19.1772, 9.8376, 23.8058)
Luminance0.0984 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01787 #17A030
analogous
#7417A0 #A01787 #A01742
triadic
#A01787 #87A017 #1787A0
tetradic
#A01787 #A07417 #17A030 #1742A0
square
#A01787 #A07417 #17A030 #1742A0
split-complementary
#A01787 #42A017 #17A074
monochromatic
#35082D #6A0F5A #A01787 #D61FB4 #E54CC9

Accessibility & contrast

On white

7.08
#A01787 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.97
#A01787 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01787
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01787#FFFFFF#000000##FFFFFF
##A017871.007.082.977.08
#FFFFFF7.081.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E4B8A
Deuteranopia (green-blind)
#516084
Tritanopia (blue-blind)
#A92250
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a01787;
/* rgb */ color: rgb(160, 23, 135);
/* oklch */ color: oklch(48.8% 0.200 337.5);
Tailwind
colors: {
  custom: {
    50: '#c069aa',
    500: '#a01787',
    950: '#000000',
  },
}
SCSS
$custom: #a01787;
$custom-light: #c069aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a01787",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 135
  },
  "hsl": {
    "h": 310.949,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48839,
    "c": 0.20014,
    "h": 337.5
  },
  "luminance": 0.09836
}

Semantic roles & 50–950 ramp

primary
#A01787
secondary
#4CC762
accent
#F15836
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01787

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

Preview Lab → · Contrast checker → · Palette generator →

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