#A62F87#A62F87

#A62F87 is a mid, vivid pink. Relative luminance 0.119; OKLCH L 51.6% C 0.180 H 340.2°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#A62F87
RGBrgb(166, 47, 135)
HSLhsl(316, 56%, 42%)
HSVhsv(316, 72%, 65%)
CMYKcmyk(0%, 71.7%, 18.7%, 34.9%)
CIE-LABlab(41.04, 56.95, -22.63)
CIE-LCHlch(41.04, 61.28, 338.33°)
OKLaboklab(51.56% 0.1698 -0.061)
OKLCHoklch(51.56% 0.18 340.2)
XYZxyz(21.1161, 11.8913, 24.1001)
Luminance0.1189 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62F87 #2FA64E
analogous
#8A2FA6 #A62F87 #A62F4C
triadic
#A62F87 #87A62F #2F87A6
tetradic
#A62F87 #A68A2F #2FA64E #2F4CA6
square
#A62F87 #A68A2F #2FA64E #2F4CA6
split-complementary
#A62F87 #4CA62F #2FA68A
monochromatic
#471439 #762160 #A62F87 #CB47A9 #D877BF

Accessibility & contrast

On white

6.22
#A62F87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#A62F87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62F87
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62F87#FFFFFF#000000##FFFFFF
##A62F871.006.223.386.22
#FFFFFF6.221.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375589
Deuteranopia (green-blind)
#5D6884
Tritanopia (blue-blind)
#B03257
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #a62f87;
/* rgb */ color: rgb(166, 47, 135);
/* oklch */ color: oklch(51.6% 0.180 340.2);
Tailwind
colors: {
  custom: {
    50: '#c472aa',
    500: '#a62f87',
    950: '#000000',
  },
}
SCSS
$custom: #a62f87;
$custom-light: #c472aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a62f87",
  "rgb": {
    "r": 166,
    "g": 47,
    "b": 135
  },
  "hsl": {
    "h": 315.63,
    "s": 55.869,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51558,
    "c": 0.18041,
    "h": 340.2
  },
  "luminance": 0.11889
}

Semantic roles & 50–950 ramp

primary
#A62F87
secondary
#70C185
accent
#DF7049
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A62F87

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

Preview Lab → · Contrast checker → · Palette generator →

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