#A62790#A62790

#A62790 is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.196 H 336.2°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#A62790
RGBrgb(166, 39, 144)
HSLhsl(310, 62%, 40%)
HSVhsv(310, 77%, 65%)
CMYKcmyk(0%, 76.5%, 13.3%, 34.9%)
CIE-LABlab(40.53, 60.92, -28.93)
CIE-LCHlch(40.53, 67.44, 334.60°)
OKLaboklab(51.33% 0.1789 -0.0789)
OKLCHoklch(51.33% 0.196 336.2)
XYZxyz(21.4858, 11.5736, 27.4825)
Luminance0.1157 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62790 #27A63D
analogous
#7D27A6 #A62790 #A62750
triadic
#A62790 #90A627 #2790A6
tetradic
#A62790 #A67D27 #27A63D #2750A6
square
#A62790 #A67D27 #27A63D #2750A6
split-complementary
#A62790 #50A627 #27A67D
monochromatic
#43103A #741B65 #A62790 #D13AB6 #DC6BC9

Accessibility & contrast

On white

6.34
#A62790 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A62790 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62790
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62790#FFFFFF#000000##FFFFFF
##A627901.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#295393
Deuteranopia (green-blind)
#56668D
Tritanopia (blue-blind)
#AF3159
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62790;
/* rgb */ color: rgb(166, 39, 144);
/* oklch */ color: oklch(51.3% 0.196 336.2);
Tailwind
colors: {
  custom: {
    50: '#c46fb1',
    500: '#a62790',
    950: '#000000',
  },
}
SCSS
$custom: #a62790;
$custom-light: #c46fb1;
$custom-dark: #000000;
JSON
{
  "hex": "#a62790",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 144
  },
  "hsl": {
    "h": 310.394,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51327,
    "c": 0.19551,
    "h": 336.2
  },
  "luminance": 0.11572
}

Semantic roles & 50–950 ramp

primary
#A62790
secondary
#66C376
accent
#E55F43
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #A62790

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

Preview Lab → · Contrast checker → · Palette generator →

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