#A42E7A#A42E7A

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

Color values

HEX#A42E7A
RGBrgb(164, 46, 122)
HSLhsl(321, 56%, 41%)
HSVhsv(321, 72%, 64%)
CMYKcmyk(0%, 72%, 25.6%, 35.7%)
CIE-LABlab(40.00, 55.00, -16.25)
CIE-LCHlch(40.00, 57.35, 343.54°)
OKLaboklab(50.55% 0.1665 -0.0431)
OKLCHoklch(50.55% 0.172 345.5)
XYZxyz(19.8005, 11.2537, 19.5380)
Luminance0.1125 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E7A #2EA458
analogous
#932EA4 #A42E7A #A42E3F
triadic
#A42E7A #7AA42E #2E7AA4
tetradic
#A42E7A #A4932E #2EA458 #2E3FA4
square
#A42E7A #A4932E #2EA458 #2E3FA4
split-complementary
#A42E7A #3FA42E #2EA493
monochromatic
#441333 #742156 #A42E7A #CB459B #D874B5

Accessibility & contrast

On white

6.46
#A42E7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#A42E7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E7A
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E7A#FFFFFF#000000##FFFFFF
##A42E7A1.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C517C
Deuteranopia (green-blind)
#5F6677
Tritanopia (blue-blind)
#AF2C50
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42e7a;
/* rgb */ color: rgb(164, 46, 122);
/* oklch */ color: oklch(50.6% 0.172 345.5);
Tailwind
colors: {
  custom: {
    50: '#c371a0',
    500: '#a42e7a',
    950: '#000000',
  },
}
SCSS
$custom: #a42e7a;
$custom-light: #c371a0;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e7a",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 122
  },
  "hsl": {
    "h": 321.356,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50553,
    "c": 0.17197,
    "h": 345.5
  },
  "luminance": 0.11252
}

Semantic roles & 50–950 ramp

primary
#A42E7A
secondary
#6EC08B
accent
#DF7E48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080E
muted
#827B7E

Preview Lab

Preview with #A42E7A

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

Preview Lab → · Contrast checker → · Palette generator →

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