#A42A6E#A42A6E

#A42A6E is a mid, vivid pink. Relative luminance 0.107; OKLCH L 49.7% C 0.170 H 351.0°. Best body text is #FFFFFF at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#A42A6E
RGBrgb(164, 42, 110)
HSLhsl(327, 59%, 40%)
HSVhsv(327, 74%, 64%)
CMYKcmyk(0%, 74.4%, 32.9%, 35.7%)
CIE-LABlab(39.03, 54.92, -10.24)
CIE-LCHlch(39.03, 55.86, 349.43°)
OKLaboklab(49.69% 0.168 -0.0266)
OKLCHoklch(49.69% 0.17 351)
XYZxyz(18.9533, 10.6764, 15.8115)
Luminance0.1067 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A6E #2AA460
analogous
#9D2AA4 #A42A6E #A42A31
triadic
#A42A6E #6EA42A #2A6EA4
tetradic
#A42A6E #A49D2A #2AA460 #2A31A4
square
#A42A6E #A49D2A #2AA460 #2A31A4
split-complementary
#A42A6E #31A42A #2AA49D
monochromatic
#43112D #731E4D #A42A6E #CD3E8E #DA6EAA

Accessibility & contrast

On white

6.70
#A42A6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A42A6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A6E
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A6E#FFFFFF#000000##FFFFFF
##A42A6E1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F4E70
Deuteranopia (green-blind)
#61646B
Tritanopia (blue-blind)
#B02148
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42a6e;
/* rgb */ color: rgb(164, 42, 110);
/* oklch */ color: oklch(49.7% 0.170 351.0);
Tailwind
colors: {
  custom: {
    50: '#c36f97',
    500: '#a42a6e',
    950: '#000000',
  },
}
SCSS
$custom: #a42a6e;
$custom-light: #c36f97;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a6e",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 326.557,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49687,
    "c": 0.17007,
    "h": 351
  },
  "luminance": 0.10674
}

Semantic roles & 50–950 ramp

primary
#A42A6E
secondary
#69C190
accent
#E28B45
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080D
muted
#827B7E

Preview Lab

Preview with #A42A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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