#A62786#A62786

#A62786 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.8% C 0.189 H 340.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A62786
RGBrgb(166, 39, 134)
HSLhsl(315, 62%, 40%)
HSVhsv(315, 77%, 65%)
CMYKcmyk(0%, 76.5%, 19.3%, 34.9%)
CIE-LABlab(40.05, 59.50, -23.56)
CIE-LCHlch(40.05, 63.99, 338.40°)
OKLaboklab(50.82% 0.1778 -0.0636)
OKLCHoklch(50.82% 0.189 340.3)
XYZxyz(20.7551, 11.2813, 23.6341)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62786 #27A647
analogous
#8627A6 #A62786 #A62747
triadic
#A62786 #86A627 #2786A6
tetradic
#A62786 #A68627 #27A647 #2747A6
square
#A62786 #A68627 #27A647 #2747A6
split-complementary
#A62786 #47A627 #27A686
monochromatic
#431036 #741B5E #A62786 #D13AAB #DC6BC0

Accessibility & contrast

On white

6.45
#A62786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A62786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62786
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62786#FFFFFF#000000##FFFFFF
##A627861.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#315189
Deuteranopia (green-blind)
#5A6683
Tritanopia (blue-blind)
#B02B54
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a62786;
/* rgb */ color: rgb(166, 39, 134);
/* oklch */ color: oklch(50.8% 0.189 340.3);
Tailwind
colors: {
  custom: {
    50: '#c46fa9',
    500: '#a62786',
    950: '#000000',
  },
}
SCSS
$custom: #a62786;
$custom-light: #c46fa9;
$custom-dark: #000000;
JSON
{
  "hex": "#a62786",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 134
  },
  "hsl": {
    "h": 315.118,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50824,
    "c": 0.18879,
    "h": 340.3
  },
  "luminance": 0.11279
}

Semantic roles & 50–950 ramp

primary
#A62786
secondary
#66C37D
accent
#E56C43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A62786

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

Preview Lab → · Contrast checker → · Palette generator →

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