#A42D5A#A42D5A

#A42D5A is a mid, vivid pink. Relative luminance 0.105; OKLCH L 49.3% C 0.158 H 2.0°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#A42D5A
RGBrgb(164, 45, 90)
HSLhsl(337, 57%, 41%)
HSVhsv(337, 73%, 64%)
CMYKcmyk(0%, 72.6%, 45.1%, 35.7%)
CIE-LABlab(38.74, 51.68, 1.96)
CIE-LCHlch(38.74, 51.72, 2.17°)
OKLaboklab(49.26% 0.1583 0.0056)
OKLCHoklch(49.26% 0.158 2)
XYZxyz(18.0951, 10.5098, 10.7466)
Luminance0.1051 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42D5A #2DA477
analogous
#A42D95 #A42D5A #A43B2D
triadic
#A42D5A #5AA42D #2D5AA4
tetradic
#A42D5A #95A42D #2DA477 #3B2DA4
square
#A42D5A #95A42D #2DA477 #3B2DA4
split-complementary
#A42D5A #2DA43B #2D95A4
monochromatic
#441325 #742040 #A42D5A #CB4376 #D97399

Accessibility & contrast

On white

6.77
#A42D5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#A42D5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A42D5A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42D5A#FFFFFF#000000##FFFFFF
##A42D5A1.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#474D5B
Deuteranopia (green-blind)
#676457
Tritanopia (blue-blind)
#B21A40
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #a42d5a;
/* rgb */ color: rgb(164, 45, 90);
/* oklch */ color: oklch(49.3% 0.158 2.0);
Tailwind
colors: {
  custom: {
    50: '#c47088',
    500: '#a42d5a',
    950: '#000000',
  },
}
SCSS
$custom: #a42d5a;
$custom-light: #c47088;
$custom-dark: #000000;
JSON
{
  "hex": "#a42d5a",
  "rgb": {
    "r": 164,
    "g": 45,
    "b": 90
  },
  "hsl": {
    "h": 337.311,
    "s": 56.938,
    "l": 40.98
  },
  "oklch": {
    "l": 0.49257,
    "c": 0.15841,
    "h": 2
  },
  "luminance": 0.10507
}

Semantic roles & 50–950 ramp

primary
#A42D5A
secondary
#6DC0A1
accent
#E0A648
background
#FCF7F8
surface
#F9EDEF
border
#D2C8CA
text
#14080B
muted
#827B7C

Preview Lab

Preview with #A42D5A

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

Preview Lab → · Contrast checker → · Palette generator →

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