#A42E5C#A42E5C

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

Color values

HEX#A42E5C
RGBrgb(164, 46, 92)
HSLhsl(337, 56%, 41%)
HSVhsv(337, 72%, 64%)
CMYKcmyk(0%, 72%, 43.9%, 35.7%)
CIE-LABlab(38.94, 51.51, 0.97)
CIE-LCHlch(38.94, 51.52, 1.08°)
OKLaboklab(49.42% 0.1578 0.0031)
OKLCHoklch(49.42% 0.158 1.1)
XYZxyz(18.2200, 10.6215, 11.2138)
Luminance0.1062 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42E5C #2EA476
analogous
#A42E97 #A42E5C #A43B2E
triadic
#A42E5C #5CA42E #2E5CA4
tetradic
#A42E5C #97A42E #2EA476 #3B2EA4
square
#A42E5C #97A42E #2EA476 #3B2EA4
split-complementary
#A42E5C #2EA43B #2E97A4
monochromatic
#441326 #742141 #A42E5C #CB4579 #D8749B

Accessibility & contrast

On white

6.72
#A42E5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A42E5C
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42E5C#FFFFFF#000000##FFFFFF
##A42E5C1.006.723.126.72
#FFFFFF6.721.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5D
Deuteranopia (green-blind)
#676459
Tritanopia (blue-blind)
#B21D41
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #a42e5c;
/* rgb */ color: rgb(164, 46, 92);
/* oklch */ color: oklch(49.4% 0.158 1.1);
Tailwind
colors: {
  custom: {
    50: '#c4708a',
    500: '#a42e5c',
    950: '#000000',
  },
}
SCSS
$custom: #a42e5c;
$custom-light: #c4708a;
$custom-dark: #000000;
JSON
{
  "hex": "#a42e5c",
  "rgb": {
    "r": 164,
    "g": 46,
    "b": 92
  },
  "hsl": {
    "h": 336.61,
    "s": 56.19,
    "l": 41.176
  },
  "oklch": {
    "l": 0.49419,
    "c": 0.15786,
    "h": 1.1
  },
  "luminance": 0.10619
}

Semantic roles & 50–950 ramp

primary
#A42E5C
secondary
#6EC0A0
accent
#DFA548
background
#FCF7F8
surface
#F9EDF0
border
#D2C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A42E5C

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

Preview Lab → · Contrast checker → · Palette generator →

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