#A42778#A42778

#A42778 is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.8% C 0.179 H 345.9°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#A42778
RGBrgb(164, 39, 120)
HSLhsl(321, 62%, 40%)
HSVhsv(321, 76%, 64%)
CMYKcmyk(0%, 76.2%, 26.8%, 35.7%)
CIE-LABlab(39.07, 57.14, -16.43)
CIE-LCHlch(39.07, 59.45, 343.96°)
OKLaboklab(49.85% 0.1735 -0.0436)
OKLCHoklch(49.85% 0.179 345.9)
XYZxyz(19.4264, 10.7018, 18.8083)
Luminance0.1070 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42778 #27A453
analogous
#9227A4 #A42778 #A4273A
triadic
#A42778 #78A427 #2778A4
tetradic
#A42778 #A49227 #27A453 #273AA4
square
#A42778 #A49227 #27A453 #273AA4
split-complementary
#A42778 #3AA427 #27A492
monochromatic
#410F30 #731B54 #A42778 #D0389B #DC6AB4

Accessibility & contrast

On white

6.69
#A42778 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#A42778 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42778
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42778#FFFFFF#000000##FFFFFF
##A427781.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#384E7A
Deuteranopia (green-blind)
#5E6475
Tritanopia (blue-blind)
#AF244C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42778;
/* rgb */ color: rgb(164, 39, 120);
/* oklch */ color: oklch(49.8% 0.179 345.9);
Tailwind
colors: {
  custom: {
    50: '#c36e9f',
    500: '#a42778',
    950: '#000000',
  },
}
SCSS
$custom: #a42778;
$custom-light: #c36e9f;
$custom-dark: #000000;
JSON
{
  "hex": "#a42778",
  "rgb": {
    "r": 164,
    "g": 39,
    "b": 120
  },
  "hsl": {
    "h": 321.12,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.49848,
    "c": 0.17885,
    "h": 345.9
  },
  "luminance": 0.107
}

Semantic roles & 50–950 ramp

primary
#A42778
secondary
#65C286
accent
#E57C43
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42778

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

Preview Lab → · Contrast checker → · Palette generator →

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