#A42785#A42785

#A42785 is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.4% C 0.187 H 340.1°. Best body text is #FFFFFF at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#A42785
RGBrgb(164, 39, 133)
HSLhsl(315, 62%, 40%)
HSVhsv(315, 76%, 64%)
CMYKcmyk(0%, 76.2%, 18.9%, 35.7%)
CIE-LABlab(39.65, 58.87, -23.60)
CIE-LCHlch(39.65, 63.43, 338.16°)
OKLaboklab(50.45% 0.1757 -0.0637)
OKLCHoklch(50.45% 0.187 340.1)
XYZxyz(20.2696, 11.0390, 23.2490)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42785 #27A446
analogous
#8527A4 #A42785 #A42747
triadic
#A42785 #85A427 #2785A4
tetradic
#A42785 #A48527 #27A446 #2747A4
square
#A42785 #A48527 #27A446 #2747A4
split-complementary
#A42785 #47A427 #27A485
monochromatic
#410F35 #731B5D #A42785 #D038AA #DC6ABF

Accessibility & contrast

On white

6.55
#A42785 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#A42785 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42785
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42785#FFFFFF#000000##FFFFFF
##A427851.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305188
Deuteranopia (green-blind)
#596482
Tritanopia (blue-blind)
#AE2B53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42785;
/* rgb */ color: rgb(164, 39, 133);
/* oklch */ color: oklch(50.4% 0.187 340.1);
Tailwind
colors: {
  custom: {
    50: '#c36fa8',
    500: '#a42785',
    950: '#000000',
  },
}
SCSS
$custom: #a42785;
$custom-light: #c36fa8;
$custom-dark: #000000;
JSON
{
  "hex": "#a42785",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 133
  },
  "hsl": {
    "h": 314.88,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.5045,
    "c": 0.1869,
    "h": 340.1
  },
  "luminance": 0.11037
}

Semantic roles & 50–950 ramp

primary
#A42785
secondary
#65C27C
accent
#E56B43
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42785

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

Preview Lab → · Contrast checker → · Palette generator →

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