#A42C8B#A42C8B

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

Color values

HEX#A42C8B
RGBrgb(164, 44, 139)
HSLhsl(313, 58%, 41%)
HSVhsv(313, 73%, 64%)
CMYKcmyk(0%, 73.2%, 15.2%, 35.7%)
CIE-LABlab(40.51, 58.08, -25.94)
CIE-LCHlch(40.51, 63.61, 335.94°)
OKLaboklab(51.17% 0.1715 -0.0704)
OKLCHoklch(51.17% 0.185 337.7)
XYZxyz(20.8711, 11.5599, 25.5532)
Luminance0.1156 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42C8B #2CA445
analogous
#812CA4 #A42C8B #A42C4F
triadic
#A42C8B #8BA42C #2C8BA4
tetradic
#A42C8B #A4812C #2CA445 #2C4FA4
square
#A42C8B #A4812C #2CA445 #2C4FA4
split-complementary
#A42C8B #4FA42C #2CA481
monochromatic
#431239 #741F62 #A42C8B #CC41AF #D971C3

Accessibility & contrast

On white

6.34
#A42C8B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#A42C8B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42C8B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42C8B#FFFFFF#000000##FFFFFF
##A42C8B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#31548E
Deuteranopia (green-blind)
#596688
Tritanopia (blue-blind)
#AD3258
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42c8b;
/* rgb */ color: rgb(164, 44, 139);
/* oklch */ color: oklch(51.2% 0.185 337.7);
Tailwind
colors: {
  custom: {
    50: '#c371ad',
    500: '#a42c8b',
    950: '#000000',
  },
}
SCSS
$custom: #a42c8b;
$custom-light: #c371ad;
$custom-dark: #000000;
JSON
{
  "hex": "#a42c8b",
  "rgb": {
    "r": 164,
    "g": 44,
    "b": 139
  },
  "hsl": {
    "h": 312.5,
    "s": 57.692,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51165,
    "c": 0.18541,
    "h": 337.7
  },
  "luminance": 0.11558
}

Semantic roles & 50–950 ramp

primary
#A42C8B
secondary
#6BC07D
accent
#E16747
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #A42C8B

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

Preview Lab → · Contrast checker → · Palette generator →

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