#A42C8C#A42C8C

#A42C8C is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.2% C 0.186 H 337.3°. Best body text is #FFFFFF at 6.33:1 contrast (WCAG AA passes).

Color values

HEX#A42C8C
RGBrgb(164, 44, 140)
HSLhsl(312, 58%, 41%)
HSVhsv(312, 73%, 64%)
CMYKcmyk(0%, 73.2%, 14.6%, 35.7%)
CIE-LABlab(40.56, 58.23, -26.47)
CIE-LCHlch(40.56, 63.97, 335.55°)
OKLaboklab(51.22% 0.1716 -0.0719)
OKLCHoklch(51.22% 0.186 337.3)
XYZxyz(20.9445, 11.5893, 25.9397)
Luminance0.1159 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C8C #2CA444
analogous
#802CA4 #A42C8C #A42C50
triadic
#A42C8C #8CA42C #2C8CA4
tetradic
#A42C8C #A4802C #2CA444 #2C50A4
square
#A42C8C #A4802C #2CA444 #2C50A4
split-complementary
#A42C8C #50A42C #2CA480
monochromatic
#43123A #741F63 #A42C8C #CC41B0 #D971C4

Accessibility & contrast

On white

6.33
#A42C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#A42C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C8C
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C8C#FFFFFF#000000##FFFFFF
##A42C8C1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#30548F
Deuteranopia (green-blind)
#586689
Tritanopia (blue-blind)
#AD3359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42c8c;
/* rgb */ color: rgb(164, 44, 140);
/* oklch */ color: oklch(51.2% 0.186 337.3);
Tailwind
colors: {
  custom: {
    50: '#c371ae',
    500: '#a42c8c',
    950: '#000000',
  },
}
SCSS
$custom: #a42c8c;
$custom-light: #c371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c8c",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 312,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51216,
    "c": 0.18611,
    "h": 337.3
  },
  "luminance": 0.11587
}

Semantic roles & 50–950 ramp

primary
#A42C8C
secondary
#6BC07C
accent
#E16647
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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