#A01786#A01786

#A01786 is a mid, vivid pink. Relative luminance 0.098; OKLCH L 48.8% C 0.199 H 337.9°. Best body text is #FFFFFF at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#A01786
RGBrgb(160, 23, 134)
HSLhsl(311, 75%, 36%)
HSVhsv(311, 86%, 63%)
CMYKcmyk(0%, 85.6%, 16.2%, 37.3%)
CIE-LABlab(37.50, 62.31, -27.62)
CIE-LCHlch(37.50, 68.15, 336.09°)
OKLaboklab(48.79% 0.1848 -0.0752)
OKLCHoklch(48.79% 0.199 337.9)
XYZxyz(19.1071, 9.8095, 23.4368)
Luminance0.0981 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A01786 #17A031
analogous
#7517A0 #A01786 #A01741
triadic
#A01786 #86A017 #1786A0
tetradic
#A01786 #A07517 #17A031 #1741A0
square
#A01786 #A07517 #17A031 #1741A0
split-complementary
#A01786 #41A017 #17A075
monochromatic
#35082C #6A0F59 #A01786 #D61FB3 #E54CC8

Accessibility & contrast

On white

7.09
#A01786 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.96
#A01786 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A01786
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A01786#FFFFFF#000000##FFFFFF
##A017861.007.092.967.09
#FFFFFF7.091.0021.001.00
#0000002.9621.001.0021.00
##FFFFFF7.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F4B89
Deuteranopia (green-blind)
#515F83
Tritanopia (blue-blind)
#A92150
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a01786;
/* rgb */ color: rgb(160, 23, 134);
/* oklch */ color: oklch(48.8% 0.199 337.9);
Tailwind
colors: {
  custom: {
    50: '#c069a9',
    500: '#a01786',
    950: '#000000',
  },
}
SCSS
$custom: #a01786;
$custom-light: #c069a9;
$custom-dark: #000000;
JSON
{
  "hex": "#a01786",
  "rgb": {
    "r": 160,
    "g": 23,
    "b": 134
  },
  "hsl": {
    "h": 311.387,
    "s": 74.863,
    "l": 35.882
  },
  "oklch": {
    "l": 0.48786,
    "c": 0.19949,
    "h": 337.9
  },
  "luminance": 0.09808
}

Semantic roles & 50–950 ramp

primary
#A01786
secondary
#4CC763
accent
#F15A36
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #A01786

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

Preview Lab → · Contrast checker → · Palette generator →

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