#A42A7B#A42A7B

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

Color values

HEX#A42A7B
RGBrgb(164, 42, 123)
HSLhsl(320, 59%, 40%)
HSVhsv(320, 74%, 64%)
CMYKcmyk(0%, 74.4%, 25%, 35.7%)
CIE-LABlab(39.55, 56.54, -17.57)
CIE-LCHlch(39.55, 59.21, 342.74°)
OKLaboklab(50.23% 0.171 -0.0468)
OKLCHoklch(50.23% 0.177 344.7)
XYZxyz(19.7138, 10.9806, 19.8163)
Luminance0.1098 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A7B #2AA453
analogous
#902AA4 #A42A7B #A42A3E
triadic
#A42A7B #7BA42A #2A7BA4
tetradic
#A42A7B #A4902A #2AA453 #2A3EA4
square
#A42A7B #A4902A #2AA453 #2A3EA4
split-complementary
#A42A7B #3EA42A #2AA490
monochromatic
#431132 #731E56 #A42A7B #CD3E9D #DA6EB6

Accessibility & contrast

On white

6.57
#A42A7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#A42A7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A7B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A7B#FFFFFF#000000##FFFFFF
##A42A7B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507D
Deuteranopia (green-blind)
#5E6578
Tritanopia (blue-blind)
#AF284F
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a42a7b;
/* rgb */ color: rgb(164, 42, 123);
/* oklch */ color: oklch(50.2% 0.177 344.7);
Tailwind
colors: {
  custom: {
    50: '#c36fa1',
    500: '#a42a7b',
    950: '#000000',
  },
}
SCSS
$custom: #a42a7b;
$custom-light: #c36fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a7b",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 123
  },
  "hsl": {
    "h": 320.164,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50234,
    "c": 0.1773,
    "h": 344.7
  },
  "luminance": 0.10979
}

Semantic roles & 50–950 ramp

primary
#A42A7B
secondary
#69C186
accent
#E27A45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A42A7B

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

Preview Lab → · Contrast checker → · Palette generator →

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