#A62F82#A62F82

#A62F82 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.3% C 0.177 H 342.5°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#A62F82
RGBrgb(166, 47, 130)
HSLhsl(318, 56%, 42%)
HSVhsv(318, 72%, 65%)
CMYKcmyk(0%, 71.7%, 21.7%, 34.9%)
CIE-LABlab(40.82, 56.25, -19.90)
CIE-LCHlch(40.82, 59.67, 340.52°)
OKLaboklab(51.33% 0.1689 -0.0533)
OKLCHoklch(51.33% 0.177 342.5)
XYZxyz(20.7724, 11.7538, 22.2895)
Luminance0.1175 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F82 #2FA653
analogous
#8F2FA6 #A62F82 #A62F47
triadic
#A62F82 #82A62F #2F82A6
tetradic
#A62F82 #A68F2F #2FA653 #2F47A6
square
#A62F82 #A68F2F #2FA653 #2F47A6
split-complementary
#A62F82 #47A62F #2FA68F
monochromatic
#471437 #76215D #A62F82 #CB47A3 #D877BB

Accessibility & contrast

On white

6.27
#A62F82 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.35
#A62F82 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F82
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F82#FFFFFF#000000##FFFFFF
##A62F821.006.273.356.27
#FFFFFF6.271.0021.001.00
#0000003.3521.001.0021.00
##FFFFFF6.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A5484
Deuteranopia (green-blind)
#5F677F
Tritanopia (blue-blind)
#B03054
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62f82;
/* rgb */ color: rgb(166, 47, 130);
/* oklch */ color: oklch(51.3% 0.177 342.5);
Tailwind
colors: {
  custom: {
    50: '#c472a6',
    500: '#a62f82',
    950: '#000000',
  },
}
SCSS
$custom: #a62f82;
$custom-light: #c472a6;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f82",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 130
  },
  "hsl": {
    "h": 318.151,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51326,
    "c": 0.17712,
    "h": 342.5
  },
  "luminance": 0.11752
}

Semantic roles & 50–950 ramp

primary
#A62F82
secondary
#70C189
accent
#DF7649
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #A62F82

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

Preview Lab → · Contrast checker → · Palette generator →

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