#A42E7D#A42E7D

#A42E7D is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.7% C 0.174 H 344.0°. Best body text is #FFFFFF at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#A42E7D
RGBrgb(164, 46, 125)
HSLhsl(320, 56%, 41%)
HSVhsv(320, 72%, 64%)
CMYKcmyk(0%, 72%, 23.8%, 35.7%)
CIE-LABlab(40.13, 55.40, -17.91)
CIE-LCHlch(40.13, 58.23, 342.08°)
OKLaboklab(50.69% 0.1671 -0.0478)
OKLCHoklch(50.69% 0.174 344)
XYZxyz(19.9893, 11.3292, 20.5321)
Luminance0.1133 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E7D #2EA455
analogous
#902EA4 #A42E7D #A42E42
triadic
#A42E7D #7DA42E #2E7DA4
tetradic
#A42E7D #A4902E #2EA455 #2E42A4
square
#A42E7D #A4902E #2EA455 #2E42A4
split-complementary
#A42E7D #42A42E #2EA490
monochromatic
#441334 #742159 #A42E7D #CB459E #D874B7

Accessibility & contrast

On white

6.43
#A42E7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#A42E7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E7D
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E7D#FFFFFF#000000##FFFFFF
##A42E7D1.006.433.276.43
#FFFFFF6.431.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B527F
Deuteranopia (green-blind)
#5E667A
Tritanopia (blue-blind)
#AF2D51
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #a42e7d;
/* rgb */ color: rgb(164, 46, 125);
/* oklch */ color: oklch(50.7% 0.174 344.0);
Tailwind
colors: {
  custom: {
    50: '#c371a2',
    500: '#a42e7d',
    950: '#000000',
  },
}
SCSS
$custom: #a42e7d;
$custom-light: #c371a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e7d",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 125
  },
  "hsl": {
    "h": 319.831,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.50685,
    "c": 0.1738,
    "h": 344
  },
  "luminance": 0.11327
}

Semantic roles & 50–950 ramp

primary
#A42E7D
secondary
#6EC089
accent
#DF7A48
background
#FCF7FA
surface
#F8EDF3
border
#D1C8CD
text
#13080F
muted
#827B7F

Preview Lab

Preview with #A42E7D

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

Preview Lab → · Contrast checker → · Palette generator →

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