#A42E5D#A42E5D

#A42E5D is a mid, vivid pink. Relative luminance 0.106; OKLCH L 49.5% C 0.158 H 0.6°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#A42E5D
RGBrgb(164, 46, 93)
HSLhsl(336, 56%, 41%)
HSVhsv(336, 72%, 64%)
CMYKcmyk(0%, 72%, 43.3%, 35.7%)
CIE-LABlab(38.97, 51.61, 0.38)
CIE-LCHlch(38.97, 51.61, 0.42°)
OKLaboklab(49.45% 0.1582 0.0016)
OKLCHoklch(49.45% 0.158 0.6)
XYZxyz(18.2640, 10.6391, 11.4456)
Luminance0.1064 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E5D #2EA475
analogous
#A42E98 #A42E5D #A43A2E
triadic
#A42E5D #5DA42E #2E5DA4
tetradic
#A42E5D #98A42E #2EA475 #3A2EA4
square
#A42E5D #98A42E #2EA475 #3A2EA4
split-complementary
#A42E5D #2EA43A #2E98A4
monochromatic
#441327 #742142 #A42E5D #CB457A #D8749C

Accessibility & contrast

On white

6.71
#A42E5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#A42E5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E5D
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E5D#FFFFFF#000000##FFFFFF
##A42E5D1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5E
Deuteranopia (green-blind)
#67645A
Tritanopia (blue-blind)
#B21D42
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42e5d;
/* rgb */ color: rgb(164, 46, 93);
/* oklch */ color: oklch(49.5% 0.158 0.6);
Tailwind
colors: {
  custom: {
    50: '#c4708a',
    500: '#a42e5d',
    950: '#000000',
  },
}
SCSS
$custom: #a42e5d;
$custom-light: #c4708a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e5d",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 93
  },
  "hsl": {
    "h": 336.102,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49451,
    "c": 0.15819,
    "h": 0.6
  },
  "luminance": 0.10637
}

Semantic roles & 50–950 ramp

primary
#A42E5D
secondary
#6EC09F
accent
#DFA348
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A42E5D

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

Preview Lab → · Contrast checker → · Palette generator →

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