#A22147#A22147

#A22147 is a mid, vivid pink. Relative luminance 0.092; OKLCH L 47.3% C 0.165 H 9.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).

Color values

HEX#A22147
RGBrgb(162, 33, 71)
HSLhsl(342, 66%, 38%)
HSVhsv(342, 80%, 64%)
CMYKcmyk(0%, 79.6%, 56.2%, 36.5%)
CIE-LABlab(36.42, 53.46, 10.76)
CIE-LCHlch(36.42, 54.53, 11.38°)
OKLaboklab(47.31% 0.1624 0.0272)
OKLCHoklch(47.31% 0.165 9.5)
XYZxyz(16.5831, 9.2264, 6.8677)
Luminance0.0922 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22147 #21A27C
analogous
#A22187 #A22147 #A23C21
triadic
#A22147 #47A221 #2147A2
tetradic
#A22147 #87A221 #21A27C #3C21A2
square
#A22147 #87A221 #21A27C #3C21A2
split-complementary
#A22147 #21A23C #2187A2
monochromatic
#3C0C1A #6F1731 #A22147 #D42C5E #DE5F85

Accessibility & contrast

On white

7.38
#A22147 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.84
#A22147 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #A22147
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22147#FFFFFF#000000##FFFFFF
##A221471.007.382.847.38
#FFFFFF7.381.0021.001.00
#0000002.8421.001.0021.00
##FFFFFF7.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444548
Deuteranopia (green-blind)
#655F44
Tritanopia (blue-blind)
#B10032
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #a22147;
/* rgb */ color: rgb(162, 33, 71);
/* oklch */ color: oklch(47.3% 0.165 9.5);
Tailwind
colors: {
  custom: {
    50: '#c46a79',
    500: '#a22147',
    950: '#000000',
  },
}
SCSS
$custom: #a22147;
$custom-light: #c46a79;
$custom-dark: #000000;
JSON
{
  "hex": "#a22147",
  "rgb": {
    "r": 162,
    "g": 33,
    "b": 71
  },
  "hsl": {
    "h": 342.326,
    "s": 66.154,
    "l": 38.235
  },
  "oklch": {
    "l": 0.47305,
    "c": 0.16462,
    "h": 9.5
  },
  "luminance": 0.09224
}

Semantic roles & 50–950 ramp

primary
#A22147
secondary
#5CC3A5
accent
#E9B73F
background
#FCF6F7
surface
#F9ECED
border
#D2C7C8
text
#140709
muted
#827A7B

Preview Lab

Preview with #A22147

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

Preview Lab → · Contrast checker → · Palette generator →

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