#A42045#A42045

#A42045 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.5% C 0.167 H 10.8°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#A42045
RGBrgb(164, 32, 69)
HSLhsl(343, 67%, 38%)
HSVhsv(343, 80%, 64%)
CMYKcmyk(0%, 80.5%, 57.9%, 35.7%)
CIE-LABlab(36.66, 54.17, 12.45)
CIE-LCHlch(36.66, 55.58, 12.95°)
OKLaboklab(47.54% 0.1641 0.0312)
OKLCHoklch(47.54% 0.167 10.8)
XYZxyz(16.9022, 9.3577, 6.5453)
Luminance0.0935 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42045 #20A47F
analogous
#A42087 #A42045 #A43D20
triadic
#A42045 #45A420 #2045A4
tetradic
#A42045 #87A420 #20A47F #3D20A4
square
#A42045 #87A420 #20A47F #3D20A4
split-complementary
#A42045 #20A43D #2087A4
monochromatic
#3E0C1A #71162F #A42045 #D62B5B #E05F83

Accessibility & contrast

On white

7.31
#A42045 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#A42045 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42045
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42045#FFFFFF#000000##FFFFFF
##A420451.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454546
Deuteranopia (green-blind)
#676042
Tritanopia (blue-blind)
#B40030
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a42045;
/* rgb */ color: rgb(164, 32, 69);
/* oklch */ color: oklch(47.5% 0.167 10.8);
Tailwind
colors: {
  custom: {
    50: '#c66a78',
    500: '#a42045',
    950: '#000000',
  },
}
SCSS
$custom: #a42045;
$custom-light: #c66a78;
$custom-dark: #000000;
JSON
{
  "hex": "#a42045",
  "rgb": {
    "r": 164,
    "g": 32,
    "b": 69
  },
  "hsl": {
    "h": 343.182,
    "s": 67.347,
    "l": 38.431
  },
  "oklch": {
    "l": 0.47543,
    "c": 0.16704,
    "h": 10.8
  },
  "luminance": 0.09355
}

Semantic roles & 50–950 ramp

primary
#A42045
secondary
#5CC4A7
accent
#EABA3E
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A42045

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

Preview Lab → · Contrast checker → · Palette generator →

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