#A42E78#A42E78

#A42E78 is a mid, vivid pink. Relative luminance 0.112; OKLCH L 50.5% C 0.171 H 346.4°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#A42E78
RGBrgb(164, 46, 120)
HSLhsl(322, 56%, 41%)
HSVhsv(322, 72%, 64%)
CMYKcmyk(0%, 72%, 26.8%, 35.7%)
CIE-LABlab(39.92, 54.74, -15.13)
CIE-LCHlch(39.92, 56.79, 344.55°)
OKLaboklab(50.47% 0.166 -0.04)
OKLCHoklch(50.47% 0.171 346.4)
XYZxyz(19.6779, 11.2047, 18.8921)
Luminance0.1120 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E78 #2EA45A
analogous
#952EA4 #A42E78 #A42E3D
triadic
#A42E78 #78A42E #2E78A4
tetradic
#A42E78 #A4952E #2EA45A #2E3DA4
square
#A42E78 #A4952E #2EA45A #2E3DA4
split-complementary
#A42E78 #3DA42E #2EA495
monochromatic
#441332 #742155 #A42E78 #CB4599 #D874B3

Accessibility & contrast

On white

6.48
#A42E78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#A42E78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E78
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E78#FFFFFF#000000##FFFFFF
##A42E781.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D517A
Deuteranopia (green-blind)
#606575
Tritanopia (blue-blind)
#AF2B4F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42e78;
/* rgb */ color: rgb(164, 46, 120);
/* oklch */ color: oklch(50.5% 0.171 346.4);
Tailwind
colors: {
  custom: {
    50: '#c3719f',
    500: '#a42e78',
    950: '#000000',
  },
}
SCSS
$custom: #a42e78;
$custom-light: #c3719f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e78",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 120
  },
  "hsl": {
    "h": 322.373,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50467,
    "c": 0.17079,
    "h": 346.4
  },
  "luminance": 0.11203
}

Semantic roles & 50–950 ramp

primary
#A42E78
secondary
#6EC08C
accent
#DF8148
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42E78

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

Preview Lab → · Contrast checker → · Palette generator →

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