#A42978#A42978

#A42978 is a mid, vivid pink. Relative luminance 0.108; OKLCH L 50.0% C 0.177 H 346.0°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#A42978
RGBrgb(164, 41, 120)
HSLhsl(321, 60%, 40%)
HSVhsv(321, 75%, 64%)
CMYKcmyk(0%, 75%, 26.8%, 35.7%)
CIE-LABlab(39.30, 56.49, -16.08)
CIE-LCHlch(39.30, 58.73, 344.11°)
OKLaboklab(50.02% 0.1714 -0.0426)
OKLCHoklch(50.02% 0.177 346)
XYZxyz(19.4938, 10.8366, 18.8307)
Luminance0.1083 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42978 #29A455
analogous
#9229A4 #A42978 #A4293B
triadic
#A42978 #78A429 #2978A4
tetradic
#A42978 #A49229 #29A455 #293BA4
square
#A42978 #A49229 #29A455 #293BA4
split-complementary
#A42978 #3BA429 #29A492
monochromatic
#421130 #731D54 #A42978 #CE3C9A #DA6DB3

Accessibility & contrast

On white

6.63
#A42978 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#A42978 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42978
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42978#FFFFFF#000000##FFFFFF
##A429781.006.633.176.63
#FFFFFF6.631.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#394F7A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#AF264D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42978;
/* rgb */ color: rgb(164, 41, 120);
/* oklch */ color: oklch(50.0% 0.177 346.0);
Tailwind
colors: {
  custom: {
    50: '#c36f9f',
    500: '#a42978',
    950: '#000000',
  },
}
SCSS
$custom: #a42978;
$custom-light: #c36f9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42978",
  "rgb": {
    "r": 164,
    "g": 41,
    "b": 120
  },
  "hsl": {
    "h": 321.463,
    "s": 60,
    "l": 40.196
  },
  "oklch": {
    "l": 0.50016,
    "c": 0.17665,
    "h": 346
  },
  "luminance": 0.10834
}

Semantic roles & 50–950 ramp

primary
#A42978
secondary
#68C188
accent
#E37D45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42978

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

Preview Lab → · Contrast checker → · Palette generator →

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