#C22FA8#C22FA8

#C22FA8 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.6% C 0.219 H 336.4°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C22FA8
RGBrgb(194, 47, 168)
HSLhsl(311, 61%, 47%)
HSVhsv(311, 76%, 76%)
CMYKcmyk(0%, 75.8%, 13.4%, 23.9%)
CIE-LABlab(47.41, 68.38, -32.22)
CIE-LCHlch(47.41, 75.59, 334.77°)
OKLaboklab(57.57% 0.201 -0.0878)
OKLCHoklch(57.57% 0.219 336.4)
XYZxyz(30.3331, 16.3323, 38.5931)
Luminance0.1633 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA8 #2FC249
analogous
#922FC2 #C22FA8 #C22F5F
triadic
#C22FA8 #A8C22F #2FA8C2
tetradic
#C22FA8 #C2922F #2FC249 #2F5FC2
square
#C22FA8 #C2922F #2FC249 #2F5FC2
split-complementary
#C22FA8 #5FC22F #2FC292
monochromatic
#5F1753 #91237D #C22FA8 #D658C0 #E289D3

Accessibility & contrast

On white

4.92
#C22FA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C22FA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FA8
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FA8#FFFFFF#000000##FFFFFF
##C22FA81.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3262AB
Deuteranopia (green-blind)
#6678A5
Tritanopia (blue-blind)
#CC3A69
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22fa8;
/* rgb */ color: rgb(194, 47, 168);
/* oklch */ color: oklch(57.6% 0.219 336.4);
Tailwind
colors: {
  custom: {
    50: '#d977c2',
    500: '#c22fa8',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa8;
$custom-light: #d977c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa8",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 168
  },
  "hsl": {
    "h": 310.612,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57572,
    "c": 0.21934,
    "h": 336.4
  },
  "luminance": 0.1633
}

Semantic roles & 50–950 ramp

primary
#C22FA8
secondary
#81CC8E
accent
#E46044
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA8

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

Preview Lab → · Contrast checker → · Palette generator →

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