#A22C5D#A22C5D

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

Color values

HEX#A22C5D
RGBrgb(162, 44, 93)
HSLhsl(335, 57%, 40%)
HSVhsv(335, 73%, 64%)
CMYKcmyk(0%, 72.8%, 42.6%, 36.5%)
CIE-LABlab(38.33, 51.76, -0.59)
CIE-LCHlch(38.33, 51.76, 359.35°)
OKLaboklab(48.92% 0.1587 -0.0009)
OKLCHoklch(48.92% 0.159 359.7)
XYZxyz(17.7781, 10.2753, 11.4009)
Luminance0.1027 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C5D #2CA271
analogous
#A22C98 #A22C5D #A2362C
triadic
#A22C5D #5DA22C #2C5DA2
tetradic
#A22C5D #98A22C #2CA271 #362CA2
square
#A22C5D #98A22C #2CA271 #362CA2
split-complementary
#A22C5D #2CA236 #2C98A2
monochromatic
#421226 #721F41 #A22C5D #CB407A #D8709B

Accessibility & contrast

On white

6.87
#A22C5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #A22C5D
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C5D#FFFFFF#000000##FFFFFF
##A22C5D1.006.873.056.87
#FFFFFF6.871.0021.001.00
#0000003.0521.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#454C5E
Deuteranopia (green-blind)
#65625A
Tritanopia (blue-blind)
#B01B41
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22c5d;
/* rgb */ color: rgb(162, 44, 93);
/* oklch */ color: oklch(48.9% 0.159 359.7);
Tailwind
colors: {
  custom: {
    50: '#c26f8a',
    500: '#a22c5d',
    950: '#000000',
  },
}
SCSS
$custom: #a22c5d;
$custom-light: #c26f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c5d",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 93
  },
  "hsl": {
    "h": 335.085,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48916,
    "c": 0.15874,
    "h": 359.7
  },
  "luminance": 0.10273
}

Semantic roles & 50–950 ramp

primary
#A22C5D
secondary
#6ABF9C
accent
#E1A147
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080B
muted
#827B7C

Preview Lab

Preview with #A22C5D

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

Preview Lab → · Contrast checker → · Palette generator →

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