#A22C5C#A22C5C

#A22C5C is a mid, vivid pink. Relative luminance 0.103; OKLCH L 48.9% C 0.158 H 0.2°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#A22C5C
RGBrgb(162, 44, 92)
HSLhsl(336, 57%, 40%)
HSVhsv(336, 73%, 64%)
CMYKcmyk(0%, 72.8%, 43.2%, 36.5%)
CIE-LABlab(38.30, 51.65, -0.00)
CIE-LCHlch(38.30, 51.65, 360.00°)
OKLaboklab(48.88% 0.1584 0.0006)
OKLCHoklch(48.88% 0.158 0.2)
XYZxyz(17.7340, 10.2577, 11.1692)
Luminance0.1026 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C5C #2CA272
analogous
#A22C97 #A22C5C #A2372C
triadic
#A22C5C #5CA22C #2C5CA2
tetradic
#A22C5C #97A22C #2CA272 #372CA2
square
#A22C5C #97A22C #2CA272 #372CA2
split-complementary
#A22C5C #2CA237 #2C97A2
monochromatic
#421225 #721F41 #A22C5C #CB4079 #D8709B

Accessibility & contrast

On white

6.88
#A22C5C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.05
#A22C5C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C5C
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C5C#FFFFFF#000000##FFFFFF
##A22C5C1.006.883.056.88
#FFFFFF6.881.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5D
Deuteranopia (green-blind)
#656259
Tritanopia (blue-blind)
#B01B40
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22c5c;
/* rgb */ color: rgb(162, 44, 92);
/* oklch */ color: oklch(48.9% 0.158 0.2);
Tailwind
colors: {
  custom: {
    50: '#c26f8a',
    500: '#a22c5c',
    950: '#000000',
  },
}
SCSS
$custom: #a22c5c;
$custom-light: #c26f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c5c",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 92
  },
  "hsl": {
    "h": 335.593,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48883,
    "c": 0.15839,
    "h": 0.2
  },
  "luminance": 0.10255
}

Semantic roles & 50–950 ramp

primary
#A22C5C
secondary
#6ABF9D
accent
#E1A247
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22C5C

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

Preview Lab → · Contrast checker → · Palette generator →

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