#A62682#A62682

#A62682 is a mid, vivid pink. Relative luminance 0.111; OKLCH L 50.6% C 0.187 H 342.0°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#A62682
RGBrgb(166, 38, 130)
HSLhsl(317, 63%, 40%)
HSVhsv(317, 77%, 65%)
CMYKcmyk(0%, 77.1%, 21.7%, 34.9%)
CIE-LABlab(39.76, 59.26, -21.54)
CIE-LCHlch(39.76, 63.05, 340.02°)
OKLaboklab(50.56% 0.1781 -0.0579)
OKLCHoklch(50.56% 0.187 342)
XYZxyz(20.4490, 11.1071, 22.1817)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62682 #26A64A
analogous
#8A26A6 #A62682 #A62642
triadic
#A62682 #82A626 #2682A6
tetradic
#A62682 #A68A26 #26A64A #2642A6
square
#A62682 #A68A26 #26A64A #2642A6
split-complementary
#A62682 #42A626 #26A68A
monochromatic
#420F34 #741B5B #A62682 #D138A6 #DD6ABC

Accessibility & contrast

On white

6.52
#A62682 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#A62682 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62682
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62682#FFFFFF#000000##FFFFFF
##A626821.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

Protanopia (red-blind)
#335084
Deuteranopia (green-blind)
#5C657F
Tritanopia (blue-blind)
#B12851
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a62682;
/* rgb */ color: rgb(166, 38, 130);
/* oklch */ color: oklch(50.6% 0.187 342.0);
Tailwind
colors: {
  custom: {
    50: '#c46ea6',
    500: '#a62682',
    950: '#000000',
  },
}
SCSS
$custom: #a62682;
$custom-light: #c46ea6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62682",
  "rgb": {
    "r": 166,
    "g": 38,
    "b": 130
  },
  "hsl": {
    "h": 316.875,
    "s": 62.745,
    "l": 40
  },
  "oklch": {
    "l": 0.50555,
    "c": 0.18727,
    "h": 342
  },
  "luminance": 0.11105
}

Semantic roles & 50–950 ramp

primary
#A62682
secondary
#65C37F
accent
#E67042
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A62682

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

Preview Lab → · Contrast checker → · Palette generator →

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