#A01788#A01788

#A01788 is a mid, highly saturated pink. Relative luminance 0.099; OKLCH L 48.9% C 0.201 H 337.1°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#A01788
RGBrgb(160, 23, 136)
HSLhsl(311, 75%, 36%)
HSVhsv(311, 86%, 63%)
CMYKcmyk(0%, 85.6%, 15%, 37.3%)
CIE-LABlab(37.60, 62.58, -28.70)
CIE-LCHlch(37.60, 68.85, 335.37°)
OKLaboklab(48.89% 0.1849 -0.0782)
OKLCHoklch(48.89% 0.201 337.1)
XYZxyz(19.2480, 9.8659, 24.1784)
Luminance0.0986 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01788 #17A02F
analogous
#7317A0 #A01788 #A01743
triadic
#A01788 #88A017 #1788A0
tetradic
#A01788 #A07317 #17A02F #1743A0
square
#A01788 #A07317 #17A02F #1743A0
split-complementary
#A01788 #43A017 #17A073
monochromatic
#35082D #6A0F5B #A01788 #D61FB5 #E54CCA

Accessibility & contrast

On white

7.06
#A01788 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #A01788
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01788#FFFFFF#000000##FFFFFF
##A017881.007.062.977.06
#FFFFFF7.061.0021.001.00
#0000002.9721.001.0021.00
##FFFFFF7.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4C8B
Deuteranopia (green-blind)
#506085
Tritanopia (blue-blind)
#A92351
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a01788;
/* rgb */ color: rgb(160, 23, 136);
/* oklch */ color: oklch(48.9% 0.201 337.1);
Tailwind
colors: {
  custom: {
    50: '#c069ab',
    500: '#a01788',
    950: '#000000',
  },
}
SCSS
$custom: #a01788;
$custom-light: #c069ab;
$custom-dark: #000000;
JSON
{
  "hex": "#a01788",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 136
  },
  "hsl": {
    "h": 310.511,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48892,
    "c": 0.20079,
    "h": 337.1
  },
  "luminance": 0.09864
}

Semantic roles & 50–950 ramp

primary
#A01788
secondary
#4CC761
accent
#F15736
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01788

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

Preview Lab → · Contrast checker → · Palette generator →

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