#A42C8E#A42C8E

#A42C8E is a mid, vivid pink. Relative luminance 0.116; OKLCH L 51.3% C 0.188 H 336.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#A42C8E
RGBrgb(164, 44, 142)
HSLhsl(311, 58%, 41%)
HSVhsv(311, 73%, 64%)
CMYKcmyk(0%, 73.2%, 13.4%, 35.7%)
CIE-LABlab(40.65, 58.53, -27.54)
CIE-LCHlch(40.65, 64.68, 334.80°)
OKLaboklab(51.32% 0.1719 -0.075)
OKLCHoklch(51.32% 0.188 336.4)
XYZxyz(21.0934, 11.6488, 26.7235)
Luminance0.1165 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C8E #2CA442
analogous
#7E2CA4 #A42C8E #A42C52
triadic
#A42C8E #8EA42C #2C8EA4
tetradic
#A42C8E #A47E2C #2CA442 #2C52A4
square
#A42C8E #A47E2C #2CA442 #2C52A4
split-complementary
#A42C8E #52A42C #2CA47E
monochromatic
#43123A #741F64 #A42C8E #CC41B3 #D971C6

Accessibility & contrast

On white

6.31
#A42C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#A42C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C8E
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C8E#FFFFFF#000000##FFFFFF
##A42C8E1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5491
Deuteranopia (green-blind)
#57668B
Tritanopia (blue-blind)
#AD345A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42c8e;
/* rgb */ color: rgb(164, 44, 142);
/* oklch */ color: oklch(51.3% 0.188 336.4);
Tailwind
colors: {
  custom: {
    50: '#c371af',
    500: '#a42c8e',
    950: '#000000',
  },
}
SCSS
$custom: #a42c8e;
$custom-light: #c371af;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c8e",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 311,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51317,
    "c": 0.18753,
    "h": 336.4
  },
  "luminance": 0.11647
}

Semantic roles & 50–950 ramp

primary
#A42C8E
secondary
#6BC07B
accent
#E16347
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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