#A22C7C#A22C7C

#A22C7C is a mid, vivid pink. Relative luminance 0.109; OKLCH L 50.1% C 0.174 H 343.7°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#A22C7C
RGBrgb(162, 44, 124)
HSLhsl(319, 57%, 40%)
HSVhsv(319, 73%, 64%)
CMYKcmyk(0%, 72.8%, 23.5%, 36.5%)
CIE-LABlab(39.48, 55.46, -18.32)
CIE-LCHlch(39.48, 58.41, 341.72°)
OKLaboklab(50.13% 0.1672 -0.0489)
OKLCHoklch(50.13% 0.174 343.7)
XYZxyz(19.4398, 10.9400, 20.1527)
Luminance0.1094 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A22C7C #2CA252
analogous
#8D2CA2 #A22C7C #A22C41
triadic
#A22C7C #7CA22C #2C7CA2
tetradic
#A22C7C #A28D2C #2CA252 #2C41A2
square
#A22C7C #A28D2C #2CA252 #2C41A2
split-complementary
#A22C7C #41A22C #2CA28D
monochromatic
#421232 #721F57 #A22C7C #CB409E #D870B7

Accessibility & contrast

On white

6.59
#A22C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#A22C7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A22C7C
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A22C7C#FFFFFF#000000##FFFFFF
##A22C7C1.006.593.196.59
#FFFFFF6.591.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#39507E
Deuteranopia (green-blind)
#5D6479
Tritanopia (blue-blind)
#AD2C50
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #a22c7c;
/* rgb */ color: rgb(162, 44, 124);
/* oklch */ color: oklch(50.1% 0.174 343.7);
Tailwind
colors: {
  custom: {
    50: '#c170a2',
    500: '#a22c7c',
    950: '#000000',
  },
}
SCSS
$custom: #a22c7c;
$custom-light: #c170a2;
$custom-dark: #000000;
JSON
{
  "hex": "#a22c7c",
  "rgb": {
    "r": 162,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 319.322,
    "s": 57.282,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50131,
    "c": 0.17419,
    "h": 343.7
  },
  "luminance": 0.10938
}

Semantic roles & 50–950 ramp

primary
#A22C7C
secondary
#6ABF86
accent
#E17947
background
#FCF7F9
surface
#F8EDF2
border
#D1C8CC
text
#13080F
muted
#827B7E

Preview Lab

Preview with #A22C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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