#A22C5B#A22C5B

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

Color values

HEX#A22C5B
RGBrgb(162, 44, 91)
HSLhsl(336, 57%, 40%)
HSVhsv(336, 73%, 64%)
CMYKcmyk(0%, 72.8%, 43.8%, 36.5%)
CIE-LABlab(38.27, 51.55, 0.59)
CIE-LCHlch(38.27, 51.56, 0.66°)
OKLaboklab(48.85% 0.1581 0.0021)
OKLCHoklch(48.85% 0.158 0.8)
XYZxyz(17.6906, 10.2403, 10.9405)
Luminance0.1024 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C5B #2CA273
analogous
#A22C96 #A22C5B #A2382C
triadic
#A22C5B #5BA22C #2C5BA2
tetradic
#A22C5B #96A22C #2CA273 #382CA2
square
#A22C5B #96A22C #2CA273 #382CA2
split-complementary
#A22C5B #2CA238 #2C96A2
monochromatic
#421225 #721F40 #A22C5B #CB4077 #D8709A

Accessibility & contrast

On white

6.89
#A22C5B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22C5B
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C5B#FFFFFF#000000##FFFFFF
##A22C5B1.006.893.056.89
#FFFFFF6.891.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5C
Deuteranopia (green-blind)
#656258
Tritanopia (blue-blind)
#B01A40
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22c5b;
/* rgb */ color: rgb(162, 44, 91);
/* oklch */ color: oklch(48.9% 0.158 0.8);
Tailwind
colors: {
  custom: {
    50: '#c26f89',
    500: '#a22c5b',
    950: '#000000',
  },
}
SCSS
$custom: #a22c5b;
$custom-light: #c26f89;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c5b",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 91
  },
  "hsl": {
    "h": 336.102,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.4885,
    "c": 0.15806,
    "h": 0.8
  },
  "luminance": 0.10238
}

Semantic roles & 50–950 ramp

primary
#A22C5B
secondary
#6ABF9E
accent
#E1A347
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22C5B

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

Preview Lab → · Contrast checker → · Palette generator →

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