#A42C8D#A42C8D

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

Color values

HEX#A42C8D
RGBrgb(164, 44, 141)
HSLhsl(312, 58%, 41%)
HSVhsv(312, 73%, 64%)
CMYKcmyk(0%, 73.2%, 14%, 35.7%)
CIE-LABlab(40.60, 58.38, -27.01)
CIE-LCHlch(40.60, 64.32, 335.17°)
OKLaboklab(51.27% 0.1718 -0.0735)
OKLCHoklch(51.27% 0.187 336.8)
XYZxyz(21.0186, 11.6189, 26.3298)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C8D #2CA443
analogous
#7F2CA4 #A42C8D #A42C51
triadic
#A42C8D #8DA42C #2C8DA4
tetradic
#A42C8D #A47F2C #2CA443 #2C51A4
square
#A42C8D #A47F2C #2CA443 #2C51A4
split-complementary
#A42C8D #51A42C #2CA47F
monochromatic
#43123A #741F64 #A42C8D #CC41B1 #D971C5

Accessibility & contrast

On white

6.32
#A42C8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42C8D
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C8D#FFFFFF#000000##FFFFFF
##A42C8D1.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5490
Deuteranopia (green-blind)
#58668A
Tritanopia (blue-blind)
#AD3359
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42c8d;
/* rgb */ color: rgb(164, 44, 141);
/* oklch */ color: oklch(51.3% 0.187 336.8);
Tailwind
colors: {
  custom: {
    50: '#c371ae',
    500: '#a42c8d',
    950: '#000000',
  },
}
SCSS
$custom: #a42c8d;
$custom-light: #c371ae;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c8d",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 141
  },
  "hsl": {
    "h": 311.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51266,
    "c": 0.18682,
    "h": 336.8
  },
  "luminance": 0.11617
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A42C8D

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

Preview Lab → · Contrast checker → · Palette generator →

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