#C22EA7#C22EA7

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

Color values

HEX#C22EA7
RGBrgb(194, 46, 167)
HSLhsl(311, 62%, 47%)
HSVhsv(311, 76%, 76%)
CMYKcmyk(0%, 76.3%, 13.9%, 23.9%)
CIE-LABlab(47.26, 68.53, -31.86)
CIE-LCHlch(47.26, 75.58, 335.07°)
OKLaboklab(57.45% 0.2018 -0.0868)
OKLCHoklch(57.45% 0.22 336.7)
XYZxyz(30.2007, 16.2162, 38.0912)
Luminance0.1621 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EA7 #2EC249
analogous
#932EC2 #C22EA7 #C22E5D
triadic
#C22EA7 #A7C22E #2EA7C2
tetradic
#C22EA7 #C2932E #2EC249 #2E5DC2
square
#C22EA7 #C2932E #2EC249 #2E5DC2
split-complementary
#C22EA7 #5DC22E #2EC293
monochromatic
#5F1752 #91227C #C22EA7 #D756BF #E388D2

Accessibility & contrast

On white

4.95
#C22EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22EA7
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EA7#FFFFFF#000000##FFFFFF
##C22EA71.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AA
Deuteranopia (green-blind)
#6678A4
Tritanopia (blue-blind)
#CC3868
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22ea7;
/* rgb */ color: rgb(194, 46, 167);
/* oklch */ color: oklch(57.4% 0.220 336.7);
Tailwind
colors: {
  custom: {
    50: '#d977c1',
    500: '#c22ea7',
    950: '#000000',
  },
}
SCSS
$custom: #c22ea7;
$custom-light: #d977c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ea7",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 167
  },
  "hsl": {
    "h": 310.946,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57448,
    "c": 0.21965,
    "h": 336.7
  },
  "luminance": 0.16213
}

Semantic roles & 50–950 ramp

primary
#C22EA7
secondary
#7FCC8D
accent
#E56143
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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