#A42E7C#A42E7C

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

Color values

HEX#A42E7C
RGBrgb(164, 46, 124)
HSLhsl(320, 56%, 41%)
HSVhsv(320, 72%, 64%)
CMYKcmyk(0%, 72%, 24.4%, 35.7%)
CIE-LABlab(40.09, 55.27, -17.36)
CIE-LCHlch(40.09, 57.93, 342.56°)
OKLaboklab(50.64% 0.1669 -0.0462)
OKLCHoklch(50.64% 0.173 344.5)
XYZxyz(19.9257, 11.3038, 20.1974)
Luminance0.1130 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E7C #2EA456
analogous
#912EA4 #A42E7C #A42E41
triadic
#A42E7C #7CA42E #2E7CA4
tetradic
#A42E7C #A4912E #2EA456 #2E41A4
square
#A42E7C #A4912E #2EA456 #2E41A4
split-complementary
#A42E7C #41A42E #2EA491
monochromatic
#441334 #742158 #A42E7C #CB459D #D874B6

Accessibility & contrast

On white

6.44
#A42E7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42E7C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E7C#FFFFFF#000000##FFFFFF
##A42E7C1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527E
Deuteranopia (green-blind)
#5F6679
Tritanopia (blue-blind)
#AF2D51
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #a42e7c;
/* rgb */ color: rgb(164, 46, 124);
/* oklch */ color: oklch(50.6% 0.173 344.5);
Tailwind
colors: {
  custom: {
    50: '#c371a2',
    500: '#a42e7c',
    950: '#000000',
  },
}
SCSS
$custom: #a42e7c;
$custom-light: #c371a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e7c",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 124
  },
  "hsl": {
    "h": 320.339,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50641,
    "c": 0.17318,
    "h": 344.5
  },
  "luminance": 0.11302
}

Semantic roles & 50–950 ramp

primary
#A42E7C
secondary
#6EC08A
accent
#DF7C48
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A42E7C

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

Preview Lab → · Contrast checker → · Palette generator →

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