#C22EA4#C22EA4

#C22EA4 is a mid, highly saturated pink. Relative luminance 0.161; OKLCH L 57.3% C 0.218 H 337.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C22EA4
RGBrgb(194, 46, 164)
HSLhsl(312, 62%, 47%)
HSVhsv(312, 76%, 76%)
CMYKcmyk(0%, 76.3%, 15.5%, 23.9%)
CIE-LABlab(47.11, 68.11, -30.30)
CIE-LCHlch(47.11, 74.55, 336.02°)
OKLaboklab(57.3% 0.2015 -0.0824)
OKLCHoklch(57.3% 0.218 337.8)
XYZxyz(29.9266, 16.1065, 36.6475)
Luminance0.1610 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EA4 #2EC24C
analogous
#962EC2 #C22EA4 #C22E5A
triadic
#C22EA4 #A4C22E #2EA4C2
tetradic
#C22EA4 #C2962E #2EC24C #2E5AC2
square
#C22EA4 #C2962E #2EC24C #2E5AC2
split-complementary
#C22EA4 #5AC22E #2EC296
monochromatic
#5F1750 #91227A #C22EA4 #D756BD #E388D0

Accessibility & contrast

On white

4.98
#C22EA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C22EA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22EA4
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22EA4#FFFFFF#000000##FFFFFF
##C22EA41.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c22ea4;
/* rgb */ color: rgb(194, 46, 164);
/* oklch */ color: oklch(57.3% 0.218 337.8);
Tailwind
colors: {
  custom: {
    50: '#d977bf',
    500: '#c22ea4',
    950: '#000000',
  },
}
SCSS
$custom: #c22ea4;
$custom-light: #d977bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ea4",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 164
  },
  "hsl": {
    "h": 312.162,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57299,
    "c": 0.21767,
    "h": 337.8
  },
  "luminance": 0.16104
}

Semantic roles & 50–950 ramp

primary
#C22EA4
secondary
#7FCC8F
accent
#E56443
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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