#A42E5B#A42E5B

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

Color values

HEX#A42E5B
RGBrgb(164, 46, 91)
HSLhsl(337, 56%, 41%)
HSVhsv(337, 72%, 64%)
CMYKcmyk(0%, 72%, 44.5%, 35.7%)
CIE-LABlab(38.91, 51.41, 1.56)
CIE-LCHlch(38.91, 51.43, 1.74°)
OKLaboklab(49.39% 0.1575 0.0046)
OKLCHoklch(49.39% 0.158 1.7)
XYZxyz(18.1765, 10.6041, 10.9851)
Luminance0.1060 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E5B #2EA477
analogous
#A42E96 #A42E5B #A43C2E
triadic
#A42E5B #5BA42E #2E5BA4
tetradic
#A42E5B #96A42E #2EA477 #3C2EA4
square
#A42E5B #96A42E #2EA477 #3C2EA4
split-complementary
#A42E5B #2EA43C #2E96A4
monochromatic
#441326 #742140 #A42E5B #CB4578 #D8749A

Accessibility & contrast

On white

6.73
#A42E5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#A42E5B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42E5B
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E5B#FFFFFF#000000##FFFFFF
##A42E5B1.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5C
Deuteranopia (green-blind)
#676458
Tritanopia (blue-blind)
#B21C41
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42e5b;
/* rgb */ color: rgb(164, 46, 91);
/* oklch */ color: oklch(49.4% 0.158 1.7);
Tailwind
colors: {
  custom: {
    50: '#c47089',
    500: '#a42e5b',
    950: '#000000',
  },
}
SCSS
$custom: #a42e5b;
$custom-light: #c47089;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e5b",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 91
  },
  "hsl": {
    "h": 337.119,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49387,
    "c": 0.15755,
    "h": 1.7
  },
  "luminance": 0.10602
}

Semantic roles & 50–950 ramp

primary
#A42E5B
secondary
#6EC0A1
accent
#DFA648
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A42E5B

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

Preview Lab → · Contrast checker → · Palette generator →

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