#A42A7A#A42A7A

#A42A7A is a mid, vivid pink. Relative luminance 0.110; OKLCH L 50.2% C 0.177 H 345.2°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#A42A7A
RGBrgb(164, 42, 122)
HSLhsl(321, 59%, 40%)
HSVhsv(321, 74%, 64%)
CMYKcmyk(0%, 74.4%, 25.6%, 35.7%)
CIE-LABlab(39.51, 56.41, -17.01)
CIE-LCHlch(39.51, 58.92, 343.22°)
OKLaboklab(50.19% 0.1708 -0.0452)
OKLCHoklch(50.19% 0.177 345.2)
XYZxyz(19.6515, 10.9557, 19.4883)
Luminance0.1095 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A7A #2AA454
analogous
#912AA4 #A42A7A #A42A3D
triadic
#A42A7A #7AA42A #2A7AA4
tetradic
#A42A7A #A4912A #2AA454 #2A3DA4
square
#A42A7A #A4912A #2AA454 #2A3DA4
split-complementary
#A42A7A #3DA42A #2AA491
monochromatic
#431132 #731E56 #A42A7A #CD3E9C #DA6EB5

Accessibility & contrast

On white

6.58
#A42A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A42A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A7A
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A7A#FFFFFF#000000##FFFFFF
##A42A7A1.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507C
Deuteranopia (green-blind)
#5E6477
Tritanopia (blue-blind)
#AF284E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42a7a;
/* rgb */ color: rgb(164, 42, 122);
/* oklch */ color: oklch(50.2% 0.177 345.2);
Tailwind
colors: {
  custom: {
    50: '#c36fa0',
    500: '#a42a7a',
    950: '#000000',
  },
}
SCSS
$custom: #a42a7a;
$custom-light: #c36fa0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a7a",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 320.656,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.5019,
    "c": 0.1767,
    "h": 345.2
  },
  "luminance": 0.10954
}

Semantic roles & 50–950 ramp

primary
#A42A7A
secondary
#69C187
accent
#E27B45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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