#A42287#A42287

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

Color values

HEX#A42287
RGBrgb(164, 34, 135)
HSLhsl(313, 66%, 39%)
HSVhsv(313, 79%, 64%)
CMYKcmyk(0%, 79.3%, 17.7%, 35.7%)
CIE-LABlab(39.22, 60.64, -25.49)
CIE-LCHlch(39.22, 65.78, 337.20°)
OKLaboklab(50.17% 0.1805 -0.0691)
OKLCHoklch(50.17% 0.193 339.1)
XYZxyz(20.2556, 10.7879, 23.9325)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42287 #22A43F
analogous
#8022A4 #A42287 #A42246
triadic
#A42287 #87A422 #2287A4
tetradic
#A42287 #A48022 #22A43F #2246A4
square
#A42287 #A48022 #22A43F #2246A4
split-complementary
#A42287 #46A422 #22A480
monochromatic
#3F0D34 #71175D #A42287 #D42FAF #DE62C3

Accessibility & contrast

On white

6.65
#A42287 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#A42287 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42287
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42287#FFFFFF#000000##FFFFFF
##A422871.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B4F8A
Deuteranopia (green-blind)
#576484
Tritanopia (blue-blind)
#AE2853
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42287;
/* rgb */ color: rgb(164, 34, 135);
/* oklch */ color: oklch(50.2% 0.193 339.1);
Tailwind
colors: {
  custom: {
    50: '#c36daa',
    500: '#a42287',
    950: '#000000',
  },
}
SCSS
$custom: #a42287;
$custom-light: #c36daa;
$custom-dark: #000000;
JSON
{
  "hex": "#a42287",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 135
  },
  "hsl": {
    "h": 313.385,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50174,
    "c": 0.19323,
    "h": 339.1
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#A42287
secondary
#5EC475
accent
#E9653F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42287

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

Preview Lab → · Contrast checker → · Palette generator →

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