#C22FA9#C22FA9

#C22FA9 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.6% C 0.220 H 336.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C22FA9
RGBrgb(194, 47, 169)
HSLhsl(310, 61%, 47%)
HSVhsv(310, 76%, 76%)
CMYKcmyk(0%, 75.8%, 12.9%, 23.9%)
CIE-LABlab(47.46, 68.52, -32.73)
CIE-LCHlch(47.46, 75.94, 334.47°)
OKLaboklab(57.62% 0.2011 -0.0893)
OKLCHoklch(57.62% 0.22 336.1)
XYZxyz(30.4266, 16.3697, 39.0857)
Luminance0.1637 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA9 #2FC248
analogous
#922FC2 #C22FA9 #C22F60
triadic
#C22FA9 #A9C22F #2FA9C2
tetradic
#C22FA9 #C2922F #2FC248 #2F60C2
square
#C22FA9 #C2922F #2FC248 #2F60C2
split-complementary
#C22FA9 #60C22F #2FC292
monochromatic
#5F1753 #91237E #C22FA9 #D658C1 #E289D3

Accessibility & contrast

On white

4.91
#C22FA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22FA9
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FA9#FFFFFF#000000##FFFFFF
##C22FA91.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3163AC
Deuteranopia (green-blind)
#6678A6
Tritanopia (blue-blind)
#CC3A6A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c22fa9;
/* rgb */ color: rgb(194, 47, 169);
/* oklch */ color: oklch(57.6% 0.220 336.1);
Tailwind
colors: {
  custom: {
    50: '#d877c3',
    500: '#c22fa9',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa9;
$custom-light: #d877c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa9",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 169
  },
  "hsl": {
    "h": 310.204,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57623,
    "c": 0.22001,
    "h": 336.1
  },
  "luminance": 0.16367
}

Semantic roles & 50–950 ramp

primary
#C22FA9
secondary
#81CC8D
accent
#E45F44
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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