#C22D9F#C22D9F

#C22D9F is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 57.0% C 0.215 H 339.5°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#C22D9F
RGBrgb(194, 45, 159)
HSLhsl(314, 62%, 47%)
HSVhsv(314, 77%, 76%)
CMYKcmyk(0%, 76.8%, 18%, 23.9%)
CIE-LABlab(46.78, 67.72, -27.85)
CIE-LCHlch(46.78, 73.22, 337.65°)
OKLaboklab(56.98% 0.2018 -0.0753)
OKLCHoklch(56.98% 0.215 339.5)
XYZxyz(29.4453, 15.8523, 34.3032)
Luminance0.1585 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22D9F #2DC250
analogous
#9B2DC2 #C22D9F #C22D55
triadic
#C22D9F #9FC22D #2D9FC2
tetradic
#C22D9F #C29B2D #2DC250 #2D55C2
square
#C22D9F #C29B2D #2DC250 #2D55C2
split-complementary
#C22D9F #55C22D #2DC29B
monochromatic
#5F164E #902176 #C22D9F #D755B9 #E386CD

Accessibility & contrast

On white

5.04
#C22D9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C22D9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22D9F
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22D9F#FFFFFF#000000##FFFFFF
##C22D9F1.005.044.175.04
#FFFFFF5.041.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3760A2
Deuteranopia (green-blind)
#69779C
Tritanopia (blue-blind)
#CD3363
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22d9f;
/* rgb */ color: rgb(194, 45, 159);
/* oklch */ color: oklch(57.0% 0.215 339.5);
Tailwind
colors: {
  custom: {
    50: '#d976bb',
    500: '#c22d9f',
    950: '#000000',
  },
}
SCSS
$custom: #c22d9f;
$custom-light: #d976bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22d9f",
  "rgb": {
    "r": 194,
    "g": 45,
    "b": 159
  },
  "hsl": {
    "h": 314.094,
    "s": 62.343,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56982,
    "c": 0.21541,
    "h": 339.5
  },
  "luminance": 0.15849
}

Semantic roles & 50–950 ramp

primary
#C22D9F
secondary
#7ECD91
accent
#E56942
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22D9F

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

Preview Lab → · Contrast checker → · Palette generator →

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