#A42E8E#A42E8E

#A42E8E is a mid, vivid pink. Relative luminance 0.118; OKLCH L 51.5% C 0.185 H 336.5°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).

Color values

HEX#A42E8E
RGBrgb(164, 46, 142)
HSLhsl(311, 56%, 41%)
HSVhsv(311, 72%, 64%)
CMYKcmyk(0%, 72%, 13.4%, 35.7%)
CIE-LABlab(40.90, 57.83, -27.16)
CIE-LCHlch(40.90, 63.89, 334.84°)
OKLaboklab(51.5% 0.1698 -0.0739)
OKLCHoklch(51.5% 0.185 336.5)
XYZxyz(21.1697, 11.8014, 26.7489)
Luminance0.1180 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E8E #2EA444
analogous
#7F2EA4 #A42E8E #A42E53
triadic
#A42E8E #8EA42E #2E8EA4
tetradic
#A42E8E #A47F2E #2EA444 #2E53A4
square
#A42E8E #A47F2E #2EA444 #2E53A4
split-complementary
#A42E8E #53A42E #2EA47F
monochromatic
#44133B #742165 #A42E8E #CB45B2 #D874C5

Accessibility & contrast

On white

6.25
#A42E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#A42E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E8E
6.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E8E#FFFFFF#000000##FFFFFF
##A42E8E1.006.253.366.25
#FFFFFF6.251.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#305591
Deuteranopia (green-blind)
#58678B
Tritanopia (blue-blind)
#AD365A
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #a42e8e;
/* rgb */ color: rgb(164, 46, 142);
/* oklch */ color: oklch(51.5% 0.185 336.5);
Tailwind
colors: {
  custom: {
    50: '#c272af',
    500: '#a42e8e',
    950: '#000000',
  },
}
SCSS
$custom: #a42e8e;
$custom-light: #c272af;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e8e",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 311.186,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51495,
    "c": 0.18518,
    "h": 336.5
  },
  "luminance": 0.11799
}

Semantic roles & 50–950 ramp

primary
#A42E8E
secondary
#6EC07D
accent
#DF6548
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #A42E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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