#A62881#A62881

#A62881 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.7% C 0.185 H 342.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A62881
RGBrgb(166, 40, 129)
HSLhsl(318, 61%, 40%)
HSVhsv(318, 76%, 65%)
CMYKcmyk(0%, 75.9%, 22.3%, 34.9%)
CIE-LABlab(39.93, 58.50, -20.66)
CIE-LCHlch(39.93, 62.04, 340.55°)
OKLaboklab(50.67% 0.176 -0.0554)
OKLCHoklch(50.67% 0.185 342.5)
XYZxyz(20.4479, 11.2117, 21.8518)
Luminance0.1121 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62881 #28A64D
analogous
#8C28A6 #A62881 #A62842
triadic
#A62881 #81A628 #2881A6
tetradic
#A62881 #A68C28 #28A64D #2842A6
square
#A62881 #A68C28 #28A64D #2842A6
split-complementary
#A62881 #42A628 #28A68C
monochromatic
#431034 #751C5B #A62881 #D03BA4 #DC6DBB

Accessibility & contrast

On white

6.48
#A62881 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A62881 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62881
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62881#FFFFFF#000000##FFFFFF
##A628811.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355183
Deuteranopia (green-blind)
#5D657E
Tritanopia (blue-blind)
#B12951
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a62881;
/* rgb */ color: rgb(166, 40, 129);
/* oklch */ color: oklch(50.7% 0.185 342.5);
Tailwind
colors: {
  custom: {
    50: '#c46fa5',
    500: '#a62881',
    950: '#000000',
  },
}
SCSS
$custom: #a62881;
$custom-light: #c46fa5;
$custom-dark: #000000;
JSON
{
  "hex": "#a62881",
  "rgb": {
    "r": 166,
    "g": 40,
    "b": 129
  },
  "hsl": {
    "h": 317.619,
    "s": 61.165,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50667,
    "c": 0.18453,
    "h": 342.5
  },
  "luminance": 0.1121
}

Semantic roles & 50–950 ramp

primary
#A62881
secondary
#67C282
accent
#E47344
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A62881

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

Preview Lab → · Contrast checker → · Palette generator →

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