#A42247#A42247

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

Color values

HEX#A42247
RGBrgb(164, 34, 71)
HSLhsl(343, 66%, 39%)
HSVhsv(343, 79%, 64%)
CMYKcmyk(0%, 79.3%, 56.7%, 35.7%)
CIE-LABlab(36.92, 53.73, 11.52)
CIE-LCHlch(36.92, 54.95, 12.10°)
OKLaboklab(47.75% 0.163 0.029)
OKLCHoklch(47.75% 0.166 10.1)
XYZxyz(17.0209, 9.4940, 6.8963)
Luminance0.0949 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A42247 #22A47F
analogous
#A42288 #A42247 #A43E22
triadic
#A42247 #47A422 #2247A4
tetradic
#A42247 #88A422 #22A47F #3E22A4
square
#A42247 #88A422 #22A47F #3E22A4
split-complementary
#A42247 #22A43E #2288A4
monochromatic
#3F0D1B #711731 #A42247 #D42F5E #DE6285

Accessibility & contrast

On white

7.25
#A42247 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.90
#A42247 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A42247
7.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A42247#FFFFFF#000000##FFFFFF
##A422471.007.252.907.25
#FFFFFF7.251.0021.001.00
#0000002.9021.001.0021.00
##FFFFFF7.251.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a42247;
/* rgb */ color: rgb(164, 34, 71);
/* oklch */ color: oklch(47.7% 0.166 10.1);
Tailwind
colors: {
  custom: {
    50: '#c56b79',
    500: '#a42247',
    950: '#000000',
  },
}
SCSS
$custom: #a42247;
$custom-light: #c56b79;
$custom-dark: #000000;
JSON
{
  "hex": "#a42247",
  "rgb": {
    "r": 164,
    "g": 34,
    "b": 71
  },
  "hsl": {
    "h": 342.923,
    "s": 65.657,
    "l": 38.824
  },
  "oklch": {
    "l": 0.47746,
    "c": 0.16555,
    "h": 10.1
  },
  "luminance": 0.09492
}

Semantic roles & 50–950 ramp

primary
#A42247
secondary
#5EC4A7
accent
#E9B83F
background
#FDF6F7
surface
#FAECED
border
#D3C7C8
text
#140709
muted
#837A7B

Preview Lab

Preview with #A42247

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

Preview Lab → · Contrast checker → · Palette generator →

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