#A62E87#A62E87

#A62E87 is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.182 H 340.2°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A62E87
RGBrgb(166, 46, 135)
HSLhsl(316, 57%, 42%)
HSVhsv(316, 72%, 65%)
CMYKcmyk(0%, 72.3%, 18.7%, 34.9%)
CIE-LABlab(40.92, 57.31, -22.83)
CIE-LCHlch(40.92, 61.69, 338.28°)
OKLaboklab(51.47% 0.1709 -0.0616)
OKLCHoklch(51.47% 0.182 340.2)
XYZxyz(21.0766, 11.8123, 24.0870)
Luminance0.1181 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A62E87 #2EA64D
analogous
#892EA6 #A62E87 #A62E4B
triadic
#A62E87 #87A62E #2E87A6
tetradic
#A62E87 #A6892E #2EA64D #2E4BA6
square
#A62E87 #A6892E #2EA64D #2E4BA6
split-complementary
#A62E87 #4BA62E #2EA689
monochromatic
#461339 #762160 #A62E87 #CC46A9 #D976BF

Accessibility & contrast

On white

6.25
#A62E87 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A62E87 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A62E87
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A62E87#FFFFFF#000000##FFFFFF
##A62E871.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365489
Deuteranopia (green-blind)
#5D6784
Tritanopia (blue-blind)
#B03157
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a62e87;
/* rgb */ color: rgb(166, 46, 135);
/* oklch */ color: oklch(51.5% 0.182 340.2);
Tailwind
colors: {
  custom: {
    50: '#c472aa',
    500: '#a62e87',
    950: '#000000',
  },
}
SCSS
$custom: #a62e87;
$custom-light: #c472aa;
$custom-dark: #000000;
JSON
{
  "hex": "#a62e87",
  "rgb": {
    "r": 166,
    "g": 46,
    "b": 135
  },
  "hsl": {
    "h": 315.5,
    "s": 56.604,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51467,
    "c": 0.18161,
    "h": 340.2
  },
  "luminance": 0.1181
}

Semantic roles & 50–950 ramp

primary
#A62E87
secondary
#6FC184
accent
#E06F48
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A62E87

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

Preview Lab → · Contrast checker → · Palette generator →

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