#C22FA4#C22FA4

#C22FA4 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.217 H 337.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C22FA4
RGBrgb(194, 47, 164)
HSLhsl(312, 61%, 47%)
HSVhsv(312, 76%, 76%)
CMYKcmyk(0%, 75.8%, 15.5%, 23.9%)
CIE-LABlab(47.22, 67.82, -30.14)
CIE-LCHlch(47.22, 74.21, 336.04°)
OKLaboklab(57.37% 0.2006 -0.0819)
OKLCHoklch(57.37% 0.217 337.8)
XYZxyz(29.9661, 16.1856, 36.6607)
Luminance0.1618 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA4 #2FC24D
analogous
#972FC2 #C22FA4 #C22F5A
triadic
#C22FA4 #A4C22F #2FA4C2
tetradic
#C22FA4 #C2972F #2FC24D #2F5AC2
square
#C22FA4 #C2972F #2FC24D #2F5AC2
split-complementary
#C22FA4 #5AC22F #2FC297
monochromatic
#5F1751 #91237A #C22FA4 #D658BD #E289D0

Accessibility & contrast

On white

4.96
#C22FA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C22FA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FA4
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FA4#FFFFFF#000000##FFFFFF
##C22FA41.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A7
Deuteranopia (green-blind)
#6878A1
Tritanopia (blue-blind)
#CD3867
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22fa4;
/* rgb */ color: rgb(194, 47, 164);
/* oklch */ color: oklch(57.4% 0.217 337.8);
Tailwind
colors: {
  custom: {
    50: '#d977bf',
    500: '#c22fa4',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa4;
$custom-light: #d977bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa4",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 164
  },
  "hsl": {
    "h": 312.245,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57373,
    "c": 0.21668,
    "h": 337.8
  },
  "luminance": 0.16183
}

Semantic roles & 50–950 ramp

primary
#C22FA4
secondary
#81CC90
accent
#E46444
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA4

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

Preview Lab → · Contrast checker → · Palette generator →

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