#A01781#A01781

#A01781 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 48.5% C 0.196 H 339.9°. Best body text is #FFFFFF at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#A01781
RGBrgb(160, 23, 129)
HSLhsl(314, 75%, 36%)
HSVhsv(314, 86%, 63%)
CMYKcmyk(0%, 85.6%, 19.4%, 37.3%)
CIE-LABlab(37.25, 61.63, -24.91)
CIE-LCHlch(37.25, 66.47, 337.99°)
OKLaboklab(48.53% 0.1844 -0.0674)
OKLCHoklch(48.53% 0.196 339.9)
XYZxyz(18.7666, 9.6733, 21.6434)
Luminance0.0967 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01781 #17A036
analogous
#7A17A0 #A01781 #A0173C
triadic
#A01781 #81A017 #1781A0
tetradic
#A01781 #A07A17 #17A036 #173CA0
square
#A01781 #A07A17 #17A036 #173CA0
split-complementary
#A01781 #3CA017 #17A07A
monochromatic
#35082B #6A0F56 #A01781 #D61FAC #E54CC3

Accessibility & contrast

On white

7.16
#A01781 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A01781 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01781
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01781#FFFFFF#000000##FFFFFF
##A017811.007.162.937.16
#FFFFFF7.161.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#244A84
Deuteranopia (green-blind)
#535F7E
Tritanopia (blue-blind)
#AA1E4D
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a01781;
/* rgb */ color: rgb(160, 23, 129);
/* oklch */ color: oklch(48.5% 0.196 339.9);
Tailwind
colors: {
  custom: {
    50: '#c068a6',
    500: '#a01781',
    950: '#000000',
  },
}
SCSS
$custom: #a01781;
$custom-light: #c068a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a01781",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 129
  },
  "hsl": {
    "h": 313.577,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48527,
    "c": 0.1963,
    "h": 339.9
  },
  "luminance": 0.09671
}

Semantic roles & 50–950 ramp

primary
#A01781
secondary
#4CC768
accent
#F16136
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#13070F
muted
#827A7F

Preview Lab

Preview with #A01781

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

Preview Lab → · Contrast checker → · Palette generator →

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