#C22FA5#C22FA5

#C22FA5 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.217 H 337.4°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C22FA5
RGBrgb(194, 47, 165)
HSLhsl(312, 61%, 47%)
HSVhsv(312, 76%, 76%)
CMYKcmyk(0%, 75.8%, 14.9%, 23.9%)
CIE-LABlab(47.26, 67.96, -30.66)
CIE-LCHlch(47.26, 74.55, 335.71°)
OKLaboklab(57.42% 0.2007 -0.0834)
OKLCHoklch(57.42% 0.217 337.4)
XYZxyz(30.0568, 16.2218, 37.1382)
Luminance0.1622 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22FA5 #2FC24C
analogous
#962FC2 #C22FA5 #C22F5B
triadic
#C22FA5 #A5C22F #2FA5C2
tetradic
#C22FA5 #C2962F #2FC24C #2F5BC2
square
#C22FA5 #C2962F #2FC24C #2F5BC2
split-complementary
#C22FA5 #5BC22F #2FC296
monochromatic
#5F1751 #91237B #C22FA5 #D658BD #E289D1

Accessibility & contrast

On white

4.95
#C22FA5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#C22FA5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22FA5
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22FA5#FFFFFF#000000##FFFFFF
##C22FA51.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3562A8
Deuteranopia (green-blind)
#6778A2
Tritanopia (blue-blind)
#CD3867
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c22fa5;
/* rgb */ color: rgb(194, 47, 165);
/* oklch */ color: oklch(57.4% 0.217 337.4);
Tailwind
colors: {
  custom: {
    50: '#d977c0',
    500: '#c22fa5',
    950: '#000000',
  },
}
SCSS
$custom: #c22fa5;
$custom-light: #d977c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c22fa5",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 165
  },
  "hsl": {
    "h": 311.837,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.57422,
    "c": 0.21734,
    "h": 337.4
  },
  "luminance": 0.16219
}

Semantic roles & 50–950 ramp

primary
#C22FA5
secondary
#81CC8F
accent
#E46344
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22FA5

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

Preview Lab → · Contrast checker → · Palette generator →

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