#A22C5E#A22C5E

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

Color values

HEX#A22C5E
RGBrgb(162, 44, 94)
HSLhsl(335, 57%, 40%)
HSVhsv(335, 73%, 64%)
CMYKcmyk(0%, 72.8%, 42%, 36.5%)
CIE-LABlab(38.36, 51.86, -1.18)
CIE-LCHlch(38.36, 51.87, 358.70°)
OKLaboklab(48.95% 0.1591 -0.0025)
OKLCHoklch(48.95% 0.159 359.1)
XYZxyz(17.8226, 10.2931, 11.6357)
Luminance0.1029 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C5E #2CA270
analogous
#A22C99 #A22C5E #A2352C
triadic
#A22C5E #5EA22C #2C5EA2
tetradic
#A22C5E #99A22C #2CA270 #352CA2
square
#A22C5E #99A22C #2CA270 #352CA2
split-complementary
#A22C5E #2CA235 #2C99A2
monochromatic
#421226 #721F42 #A22C5E #CB407B #D8709C

Accessibility & contrast

On white

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

On black

3.06
#A22C5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##A22C5E#FFFFFF#000000##FFFFFF
##A22C5E1.006.873.066.87
#FFFFFF6.871.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#444C5F
Deuteranopia (green-blind)
#65625B
Tritanopia (blue-blind)
#B01C41
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #a22c5e;
/* rgb */ color: rgb(162, 44, 94);
/* oklch */ color: oklch(48.9% 0.159 359.1);
Tailwind
colors: {
  custom: {
    50: '#c26f8b',
    500: '#a22c5e',
    950: '#000000',
  },
}
SCSS
$custom: #a22c5e;
$custom-light: #c26f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c5e",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 334.576,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.48949,
    "c": 0.1591,
    "h": 359.1
  },
  "luminance": 0.10291
}

Semantic roles & 50–950 ramp

primary
#A22C5E
secondary
#6ABF9B
accent
#E1A047
background
#FCF7F8
surface
#F8EDF0
border
#D1C8CB
text
#13080C
muted
#827B7D

Preview Lab

Preview with #A22C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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