#C22FA1#C22FA1

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

Color values

HEX#C22FA1
RGBrgb(194, 47, 161)
HSLhsl(313, 61%, 47%)
HSVhsv(313, 76%, 76%)
CMYKcmyk(0%, 75.8%, 17%, 23.9%)
CIE-LABlab(47.08, 67.40, -28.58)
CIE-LCHlch(47.08, 73.21, 337.02°)
OKLaboklab(57.23% 0.2003 -0.0774)
OKLCHoklch(57.23% 0.215 338.9)
XYZxyz(29.6984, 16.0785, 35.2507)
Luminance0.1608 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA1 #2FC250
analogous
#992FC2 #C22FA1 #C22F58
triadic
#C22FA1 #A1C22F #2FA1C2
tetradic
#C22FA1 #C2992F #2FC250 #2F58C2
square
#C22FA1 #C2992F #2FC250 #2F58C2
split-complementary
#C22FA1 #58C22F #2FC299
monochromatic
#5F174F #912378 #C22FA1 #D658BA #E289CE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22FA1#FFFFFF#000000##FFFFFF
##C22FA11.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)
#3861A4
Deuteranopia (green-blind)
#69789E
Tritanopia (blue-blind)
#CD3665
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22fa1;
/* rgb */ color: rgb(194, 47, 161);
/* oklch */ color: oklch(57.2% 0.215 338.9);
Tailwind
colors: {
  custom: {
    50: '#d977bd',
    500: '#c22fa1',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa1;
$custom-light: #d977bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa1",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 161
  },
  "hsl": {
    "h": 313.469,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57227,
    "c": 0.21473,
    "h": 338.9
  },
  "luminance": 0.16076
}

Semantic roles & 50–950 ramp

primary
#C22FA1
secondary
#81CC92
accent
#E46844
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA1

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

Preview Lab → · Contrast checker → · Palette generator →

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