#A42147#A42147

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

Color values

HEX#A42147
RGBrgb(164, 33, 71)
HSLhsl(343, 66%, 39%)
HSVhsv(343, 80%, 64%)
CMYKcmyk(0%, 79.9%, 56.7%, 35.7%)
CIE-LABlab(36.81, 54.03, 11.37)
CIE-LCHlch(36.81, 55.21, 11.89°)
OKLaboklab(47.67% 0.164 0.0287)
OKLCHoklch(47.67% 0.166 9.9)
XYZxyz(16.9927, 9.4376, 6.8869)
Luminance0.0944 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42147 #21A47E
analogous
#A42188 #A42147 #A43C21
triadic
#A42147 #47A421 #2147A4
tetradic
#A42147 #88A421 #21A47E #3C21A4
square
#A42147 #88A421 #21A47E #3C21A4
split-complementary
#A42147 #21A43C #2188A4
monochromatic
#3E0C1B #711731 #A42147 #D52D5E #DF6085

Accessibility & contrast

On white

7.27
#A42147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.89
#A42147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42147
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42147#FFFFFF#000000##FFFFFF
##A421471.007.272.897.27
#FFFFFF7.271.0021.001.00
#0000002.8921.001.0021.00
##FFFFFF7.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454648
Deuteranopia (green-blind)
#676044
Tritanopia (blue-blind)
#B40032
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #a42147;
/* rgb */ color: rgb(164, 33, 71);
/* oklch */ color: oklch(47.7% 0.166 9.9);
Tailwind
colors: {
  custom: {
    50: '#c66a79',
    500: '#a42147',
    950: '#000000',
  },
}
SCSS
$custom: #a42147;
$custom-light: #c66a79;
$custom-dark: #000000;
JSON
{
  "hex": "#a42147",
  "rgb": {
    "r": 164,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 342.595,
    "s": 66.497,
    "l": 38.627
  },
  "oklch": {
    "l": 0.47668,
    "c": 0.16644,
    "h": 9.9
  },
  "luminance": 0.09435
}

Semantic roles & 50–950 ramp

primary
#A42147
secondary
#5DC4A6
accent
#E9B83E
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A42147

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

Preview Lab → · Contrast checker → · Palette generator →

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