#C22FA2#C22FA2

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

Color values

HEX#C22FA2
RGBrgb(194, 47, 162)
HSLhsl(313, 61%, 47%)
HSVhsv(313, 76%, 76%)
CMYKcmyk(0%, 75.8%, 16.5%, 23.9%)
CIE-LABlab(47.12, 67.54, -29.10)
CIE-LCHlch(47.12, 73.54, 336.69°)
OKLaboklab(57.28% 0.2004 -0.0789)
OKLCHoklch(57.28% 0.215 338.5)
XYZxyz(29.7870, 16.1139, 35.7170)
Luminance0.1611 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA2 #2FC24F
analogous
#982FC2 #C22FA2 #C22F59
triadic
#C22FA2 #A2C22F #2FA2C2
tetradic
#C22FA2 #C2982F #2FC24F #2F59C2
square
#C22FA2 #C2982F #2FC24F #2F59C2
split-complementary
#C22FA2 #59C22F #2FC298
monochromatic
#5F1750 #912379 #C22FA2 #D658BB #E289CF

Accessibility & contrast

On white

4.97
#C22FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22FA2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FA2#FFFFFF#000000##FFFFFF
##C22FA21.004.974.224.97
#FFFFFF4.971.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3761A5
Deuteranopia (green-blind)
#69789F
Tritanopia (blue-blind)
#CD3666
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22fa2;
/* rgb */ color: rgb(194, 47, 162);
/* oklch */ color: oklch(57.3% 0.215 338.5);
Tailwind
colors: {
  custom: {
    50: '#d977be',
    500: '#c22fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa2;
$custom-light: #d977be;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa2",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 313.061,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57275,
    "c": 0.21537,
    "h": 338.5
  },
  "luminance": 0.16111
}

Semantic roles & 50–950 ramp

primary
#C22FA2
secondary
#81CC91
accent
#E46744
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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