#A62778#A62778

#A62778 is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.2% C 0.180 H 346.5°. Best body text is #FFFFFF at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#A62778
RGBrgb(166, 39, 120)
HSLhsl(322, 62%, 40%)
HSVhsv(322, 77%, 65%)
CMYKcmyk(0%, 76.5%, 27.7%, 34.9%)
CIE-LABlab(39.44, 57.65, -15.84)
CIE-LCHlch(39.44, 59.79, 344.64°)
OKLaboklab(50.18% 0.1753 -0.0419)
OKLCHoklch(50.18% 0.18 346.5)
XYZxyz(19.8425, 10.9163, 18.8278)
Luminance0.1091 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62778 #27A655
analogous
#9427A6 #A62778 #A62739
triadic
#A62778 #78A627 #2778A6
tetradic
#A62778 #A69427 #27A655 #2739A6
square
#A62778 #A69427 #27A655 #2739A6
split-complementary
#A62778 #39A627 #27A694
monochromatic
#431030 #741B54 #A62778 #D13A9A #DC6BB3

Accessibility & contrast

On white

6.60
#A62778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.18
#A62778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62778
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62778#FFFFFF#000000##FFFFFF
##A627781.006.603.186.60
#FFFFFF6.601.0021.001.00
#0000003.1821.001.0021.00
##FFFFFF6.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5F6575
Tritanopia (blue-blind)
#B2234C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a62778;
/* rgb */ color: rgb(166, 39, 120);
/* oklch */ color: oklch(50.2% 0.180 346.5);
Tailwind
colors: {
  custom: {
    50: '#c56e9f',
    500: '#a62778',
    950: '#000000',
  },
}
SCSS
$custom: #a62778;
$custom-light: #c56e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a62778",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 321.732,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50182,
    "c": 0.18024,
    "h": 346.5
  },
  "luminance": 0.10914
}

Semantic roles & 50–950 ramp

primary
#A62778
secondary
#66C388
accent
#E57E43
background
#FCF7F9
surface
#F9EDF2
border
#D2C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A62778

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

Preview Lab → · Contrast checker → · Palette generator →

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