#A42D7E#A42D7E

#A42D7E is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.6% C 0.176 H 343.5°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#A42D7E
RGBrgb(164, 45, 126)
HSLhsl(319, 57%, 41%)
HSVhsv(319, 73%, 64%)
CMYKcmyk(0%, 72.6%, 23.2%, 35.7%)
CIE-LABlab(40.04, 55.90, -18.66)
CIE-LCHlch(40.04, 58.93, 341.54°)
OKLaboklab(50.64% 0.1684 -0.0499)
OKLCHoklch(50.64% 0.176 343.5)
XYZxyz(20.0149, 11.2777, 20.8574)
Luminance0.1128 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D7E #2DA453
analogous
#8E2DA4 #A42D7E #A42D42
triadic
#A42D7E #7EA42D #2D7EA4
tetradic
#A42D7E #A48E2D #2DA453 #2D42A4
square
#A42D7E #A48E2D #2DA453 #2D42A4
split-complementary
#A42D7E #42A42D #2DA48E
monochromatic
#441334 #742059 #A42D7E #CB43A0 #D973B8

Accessibility & contrast

On white

6.45
#A42D7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#A42D7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D7E
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D7E#FFFFFF#000000##FFFFFF
##A42D7E1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395280
Deuteranopia (green-blind)
#5E667B
Tritanopia (blue-blind)
#AF2D51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42d7e;
/* rgb */ color: rgb(164, 45, 126);
/* oklch */ color: oklch(50.6% 0.176 343.5);
Tailwind
colors: {
  custom: {
    50: '#c371a3',
    500: '#a42d7e',
    950: '#000000',
  },
}
SCSS
$custom: #a42d7e;
$custom-light: #c371a3;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d7e",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 126
  },
  "hsl": {
    "h": 319.16,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50637,
    "c": 0.17563,
    "h": 343.5
  },
  "luminance": 0.11276
}

Semantic roles & 50–950 ramp

primary
#A42D7E
secondary
#6DC087
accent
#E07848
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42D7E

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

Preview Lab → · Contrast checker → · Palette generator →

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