#A42E5A#A42E5A

#A42E5A is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.4% C 0.157 H 2.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#A42E5A
RGBrgb(164, 46, 90)
HSLhsl(338, 56%, 41%)
HSVhsv(338, 72%, 64%)
CMYKcmyk(0%, 72%, 45.1%, 35.7%)
CIE-LABlab(38.88, 51.31, 2.15)
CIE-LCHlch(38.88, 51.35, 2.40°)
OKLaboklab(49.36% 0.1571 0.0061)
OKLCHoklch(49.36% 0.157 2.2)
XYZxyz(18.1337, 10.5870, 10.7595)
Luminance0.1058 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E5A #2EA478
analogous
#A42E95 #A42E5A #A43D2E
triadic
#A42E5A #5AA42E #2E5AA4
tetradic
#A42E5A #95A42E #2EA478 #3D2EA4
square
#A42E5A #95A42E #2EA478 #3D2EA4
split-complementary
#A42E5A #2EA43D #2E95A4
monochromatic
#441326 #742140 #A42E5A #CB4577 #D8749A

Accessibility & contrast

On white

6.74
#A42E5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A42E5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E5A
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E5A#FFFFFF#000000##FFFFFF
##A42E5A1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484D5B
Deuteranopia (green-blind)
#676457
Tritanopia (blue-blind)
#B21C40
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42e5a;
/* rgb */ color: rgb(164, 46, 90);
/* oklch */ color: oklch(49.4% 0.157 2.2);
Tailwind
colors: {
  custom: {
    50: '#c47088',
    500: '#a42e5a',
    950: '#000000',
  },
}
SCSS
$custom: #a42e5a;
$custom-light: #c47088;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e5a",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 90
  },
  "hsl": {
    "h": 337.627,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49356,
    "c": 0.15724,
    "h": 2.2
  },
  "luminance": 0.10585
}

Semantic roles & 50–950 ramp

primary
#A42E5A
secondary
#6EC0A1
accent
#DFA748
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A42E5A

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

Preview Lab → · Contrast checker → · Palette generator →

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