#A42145#A42145

#A42145 is a mid, vivid pink. Relative luminance 0.094; OKLCH L 47.6% C 0.166 H 10.9°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).

Color values

HEX#A42145
RGBrgb(164, 33, 69)
HSLhsl(344, 66%, 39%)
HSVhsv(344, 80%, 64%)
CMYKcmyk(0%, 79.9%, 57.9%, 35.7%)
CIE-LABlab(36.77, 53.88, 12.59)
CIE-LCHlch(36.77, 55.33, 13.16°)
OKLaboklab(47.62% 0.1632 0.0315)
OKLCHoklch(47.62% 0.166 10.9)
XYZxyz(16.9296, 9.4124, 6.5544)
Luminance0.0941 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42145 #21A480
analogous
#A42186 #A42145 #A43E21
triadic
#A42145 #45A421 #2145A4
tetradic
#A42145 #86A421 #21A480 #3E21A4
square
#A42145 #86A421 #21A480 #3E21A4
split-complementary
#A42145 #21A43E #2186A4
monochromatic
#3E0C1A #711730 #A42145 #D52D5B #DF6083

Accessibility & contrast

On white

7.29
#A42145 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.88
#A42145 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42145
7.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42145#FFFFFF#000000##FFFFFF
##A421451.007.292.887.29
#FFFFFF7.291.0021.001.00
#0000002.8821.001.0021.00
##FFFFFF7.291.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42145;
/* rgb */ color: rgb(164, 33, 69);
/* oklch */ color: oklch(47.6% 0.166 10.9);
Tailwind
colors: {
  custom: {
    50: '#c66a78',
    500: '#a42145',
    950: '#000000',
  },
}
SCSS
$custom: #a42145;
$custom-light: #c66a78;
$custom-dark: #000000;
JSON
{
  "hex": "#a42145",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 69
  },
  "hsl": {
    "h": 343.511,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47618,
    "c": 0.16617,
    "h": 10.9
  },
  "luminance": 0.0941
}

Semantic roles & 50–950 ramp

primary
#A42145
secondary
#5DC4A8
accent
#E9BA3E
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140708
muted
#837A7B

Preview Lab

Preview with #A42145

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

Preview Lab → · Contrast checker → · Palette generator →

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