#C22EA3#C22EA3

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

Color values

HEX#C22EA3
RGBrgb(194, 46, 163)
HSLhsl(313, 62%, 47%)
HSVhsv(313, 76%, 76%)
CMYKcmyk(0%, 76.3%, 16%, 23.9%)
CIE-LABlab(47.07, 67.97, -29.78)
CIE-LCHlch(47.07, 74.21, 336.34°)
OKLaboklab(57.25% 0.2014 -0.0809)
OKLCHoklch(57.25% 0.217 338.1)
XYZxyz(29.8367, 16.0706, 36.1738)
Luminance0.1607 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22EA3 #2EC24D
analogous
#972EC2 #C22EA3 #C22E59
triadic
#C22EA3 #A3C22E #2EA3C2
tetradic
#C22EA3 #C2972E #2EC24D #2E59C2
square
#C22EA3 #C2972E #2EC24D #2E59C2
split-complementary
#C22EA3 #59C22E #2EC297
monochromatic
#5F1750 #912279 #C22EA3 #D756BC #E388D0

Accessibility & contrast

On white

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

On black

4.21
#C22EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C22EA3#FFFFFF#000000##FFFFFF
##C22EA31.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3561A6
Deuteranopia (green-blind)
#6878A0
Tritanopia (blue-blind)
#CD3666
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22ea3;
/* rgb */ color: rgb(194, 46, 163);
/* oklch */ color: oklch(57.2% 0.217 338.1);
Tailwind
colors: {
  custom: {
    50: '#d977be',
    500: '#c22ea3',
    950: '#000000',
  },
}
SCSS
$custom: #c22ea3;
$custom-light: #d977be;
$custom-dark: #000000;
JSON
{
  "hex": "#c22ea3",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 163
  },
  "hsl": {
    "h": 312.568,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57249,
    "c": 0.21702,
    "h": 338.1
  },
  "luminance": 0.16068
}

Semantic roles & 50–950 ramp

primary
#C22EA3
secondary
#7FCC90
accent
#E56543
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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