#A62788#A62788

#A62788 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.9% C 0.190 H 339.5°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A62788
RGBrgb(166, 39, 136)
HSLhsl(314, 62%, 40%)
HSVhsv(314, 77%, 65%)
CMYKcmyk(0%, 76.5%, 18.1%, 34.9%)
CIE-LABlab(40.14, 59.77, -24.64)
CIE-LCHlch(40.14, 64.65, 337.60°)
OKLaboklab(50.92% 0.178 -0.0667)
OKLCHoklch(50.92% 0.19 339.5)
XYZxyz(20.8959, 11.3377, 24.3757)
Luminance0.1134 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62788 #27A645
analogous
#8427A6 #A62788 #A62749
triadic
#A62788 #88A627 #2788A6
tetradic
#A62788 #A68427 #27A645 #2749A6
square
#A62788 #A68427 #27A645 #2749A6
split-complementary
#A62788 #49A627 #27A684
monochromatic
#431037 #741B5F #A62788 #D13AAD #DC6BC2

Accessibility & contrast

On white

6.43
#A62788 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A62788 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62788
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62788#FFFFFF#000000##FFFFFF
##A627881.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F528B
Deuteranopia (green-blind)
#5A6685
Tritanopia (blue-blind)
#B02C55
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a62788;
/* rgb */ color: rgb(166, 39, 136);
/* oklch */ color: oklch(50.9% 0.190 339.5);
Tailwind
colors: {
  custom: {
    50: '#c46fab',
    500: '#a62788',
    950: '#000000',
  },
}
SCSS
$custom: #a62788;
$custom-light: #c46fab;
$custom-dark: #000000;
JSON
{
  "hex": "#a62788",
  "rgb": {
    "r": 166,
    "g": 39,
    "b": 136
  },
  "hsl": {
    "h": 314.173,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50922,
    "c": 0.19009,
    "h": 339.5
  },
  "luminance": 0.11336
}

Semantic roles & 50–950 ramp

primary
#A62788
secondary
#66C37C
accent
#E56943
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A62788

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

Preview Lab → · Contrast checker → · Palette generator →

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