#A62F8A#A62F8A

#A62F8A is a mid, vivid pink. Relative luminance 0.120; OKLCH L 51.7% C 0.182 H 338.9°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#A62F8A
RGBrgb(166, 47, 138)
HSLhsl(314, 56%, 42%)
HSVhsv(314, 72%, 65%)
CMYKcmyk(0%, 71.7%, 16.9%, 34.9%)
CIE-LABlab(41.18, 57.38, -24.25)
CIE-LCHlch(41.18, 62.30, 337.09°)
OKLaboklab(51.7% 0.1702 -0.0656)
OKLCHoklch(51.7% 0.182 338.9)
XYZxyz(21.3303, 11.9770, 25.2282)
Luminance0.1197 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F8A #2FA64B
analogous
#872FA6 #A62F8A #A62F4E
triadic
#A62F8A #8AA62F #2F8AA6
tetradic
#A62F8A #A6872F #2FA64B #2F4EA6
square
#A62F8A #A6872F #2FA64B #2F4EA6
split-complementary
#A62F8A #4EA62F #2FA687
monochromatic
#47143B #762162 #A62F8A #CB47AC #D877C2

Accessibility & contrast

On white

6.19
#A62F8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#A62F8A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F8A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F8A#FFFFFF#000000##FFFFFF
##A62F8A1.006.193.406.19
#FFFFFF6.191.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#35558D
Deuteranopia (green-blind)
#5C6887
Tritanopia (blue-blind)
#AF3458
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a62f8a;
/* rgb */ color: rgb(166, 47, 138);
/* oklch */ color: oklch(51.7% 0.182 338.9);
Tailwind
colors: {
  custom: {
    50: '#c472ac',
    500: '#a62f8a',
    950: '#000000',
  },
}
SCSS
$custom: #a62f8a;
$custom-light: #c472ac;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f8a",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 138
  },
  "hsl": {
    "h": 314.118,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51702,
    "c": 0.18243,
    "h": 338.9
  },
  "luminance": 0.11975
}

Semantic roles & 50–950 ramp

primary
#A62F8A
secondary
#70C183
accent
#DF6C49
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A62F8A

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

Preview Lab → · Contrast checker → · Palette generator →

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