#A42A5E#A42A5E

#A42A5E is a mid, vivid pink. Relative luminance 0.104; OKLCH L 49.1% C 0.163 H 359.3°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#A42A5E
RGBrgb(164, 42, 94)
HSLhsl(334, 59%, 40%)
HSVhsv(334, 74%, 64%)
CMYKcmyk(0%, 74.4%, 42.7%, 35.7%)
CIE-LABlab(38.48, 53.15, -0.97)
CIE-LCHlch(38.48, 53.16, 358.96°)
OKLaboklab(49.1% 0.1631 -0.0019)
OKLCHoklch(49.1% 0.163 359.3)
XYZxyz(18.1595, 10.3589, 11.6307)
Luminance0.1036 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42A5E #2AA470
analogous
#A42A9B #A42A5E #A4332A
triadic
#A42A5E #5EA42A #2A5EA4
tetradic
#A42A5E #9BA42A #2AA470 #332AA4
square
#A42A5E #9BA42A #2AA470 #332AA4
split-complementary
#A42A5E #2AA433 #2A9BA4
monochromatic
#431126 #731E42 #A42A5E #CD3E7B #DA6E9C

Accessibility & contrast

On white

6.84
#A42A5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#A42A5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42A5E
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42A5E#FFFFFF#000000##FFFFFF
##A42A5E1.006.843.076.84
#FFFFFF6.841.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#65635B
Tritanopia (blue-blind)
#B21840
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42a5e;
/* rgb */ color: rgb(164, 42, 94);
/* oklch */ color: oklch(49.1% 0.163 359.3);
Tailwind
colors: {
  custom: {
    50: '#c46e8b',
    500: '#a42a5e',
    950: '#000000',
  },
}
SCSS
$custom: #a42a5e;
$custom-light: #c46e8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a42a5e",
  "rgb": {
    "r": 164,
    "g": 42,
    "b": 94
  },
  "hsl": {
    "h": 334.426,
    "s": 59.223,
    "l": 40.392
  },
  "oklch": {
    "l": 0.49103,
    "c": 0.16314,
    "h": 359.3
  },
  "luminance": 0.10357
}

Semantic roles & 50–950 ramp

primary
#A42A5E
secondary
#69C19B
accent
#E29F45
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A42A5E

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

Preview Lab → · Contrast checker → · Palette generator →

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