#A22847#A22847

#A22847 is a mid, vivid pink. Relative luminance 0.097; OKLCH L 47.9% C 0.158 H 10.9°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#A22847
RGBrgb(162, 40, 71)
HSLhsl(345, 60%, 40%)
HSVhsv(345, 75%, 64%)
CMYKcmyk(0%, 75.3%, 56.2%, 36.5%)
CIE-LABlab(37.22, 51.20, 11.87)
CIE-LCHlch(37.22, 52.56, 13.05°)
OKLaboklab(47.9% 0.1551 0.0299)
OKLCHoklch(47.9% 0.158 10.9)
XYZxyz(16.7980, 9.6563, 6.9393)
Luminance0.0965 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22847 #28A283
analogous
#A22884 #A22847 #A24628
triadic
#A22847 #47A228 #2847A2
tetradic
#A22847 #84A228 #28A283 #4628A2
square
#A22847 #84A228 #28A283 #4628A2
split-complementary
#A22847 #28A246 #2884A2
monochromatic
#40101C #711C31 #A22847 #CE395F #DA6A87

Accessibility & contrast

On white

7.17
#A22847 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#A22847 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22847
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22847#FFFFFF#000000##FFFFFF
##A228471.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484847
Deuteranopia (green-blind)
#676144
Tritanopia (blue-blind)
#B10235
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #a22847;
/* rgb */ color: rgb(162, 40, 71);
/* oklch */ color: oklch(47.9% 0.158 10.9);
Tailwind
colors: {
  custom: {
    50: '#c46d79',
    500: '#a22847',
    950: '#000000',
  },
}
SCSS
$custom: #a22847;
$custom-light: #c46d79;
$custom-dark: #000000;
JSON
{
  "hex": "#a22847",
  "rgb": {
    "r": 162,
    "g": 40,
    "b": 71
  },
  "hsl": {
    "h": 344.754,
    "s": 60.396,
    "l": 39.608
  },
  "oklch": {
    "l": 0.47897,
    "c": 0.15793,
    "h": 10.9
  },
  "luminance": 0.09654
}

Semantic roles & 50–950 ramp

primary
#A22847
secondary
#65C1A9
accent
#E4BB44
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140809
muted
#827B7B

Preview Lab

Preview with #A22847

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

Preview Lab → · Contrast checker → · Palette generator →

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