#A42387#A42387

#A42387 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.2% C 0.192 H 339.1°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A42387
RGBrgb(164, 35, 135)
HSLhsl(313, 65%, 39%)
HSVhsv(313, 79%, 64%)
CMYKcmyk(0%, 78.7%, 17.7%, 35.7%)
CIE-LABlab(39.32, 60.35, -25.34)
CIE-LCHlch(39.32, 65.45, 337.23°)
OKLaboklab(50.25% 0.1796 -0.0686)
OKLCHoklch(50.25% 0.192 339.1)
XYZxyz(20.2846, 10.8459, 23.9422)
Luminance0.1084 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42387 #23A440
analogous
#8123A4 #A42387 #A42347
triadic
#A42387 #87A423 #2387A4
tetradic
#A42387 #A48123 #23A440 #2347A4
square
#A42387 #A48123 #23A440 #2347A4
split-complementary
#A42387 #47A423 #23A481
monochromatic
#3F0D34 #72185D #A42387 #D331AF #DE64C2

Accessibility & contrast

On white

6.63
#A42387 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A42387 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42387
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42387#FFFFFF#000000##FFFFFF
##A423871.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B508A
Deuteranopia (green-blind)
#576484
Tritanopia (blue-blind)
#AE2953
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42387;
/* rgb */ color: rgb(164, 35, 135);
/* oklch */ color: oklch(50.2% 0.192 339.1);
Tailwind
colors: {
  custom: {
    50: '#c36daa',
    500: '#a42387',
    950: '#000000',
  },
}
SCSS
$custom: #a42387;
$custom-light: #c36daa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42387",
  "rgb": {
    "r": 164,
    "g": 35,
    "b": 135
  },
  "hsl": {
    "h": 313.488,
    "s": 64.824,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50245,
    "c": 0.19227,
    "h": 339.1
  },
  "luminance": 0.10844
}

Semantic roles & 50–950 ramp

primary
#A42387
secondary
#60C376
accent
#E86640
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42387

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

Preview Lab → · Contrast checker → · Palette generator →

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