#C22E9F#C22E9F

#C22E9F is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.1% C 0.214 H 339.6°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#C22E9F
RGBrgb(194, 46, 159)
HSLhsl(314, 62%, 47%)
HSVhsv(314, 76%, 76%)
CMYKcmyk(0%, 76.3%, 18%, 23.9%)
CIE-LABlab(46.88, 67.43, -27.69)
CIE-LCHlch(46.88, 72.89, 337.67°)
OKLaboklab(57.06% 0.2009 -0.0749)
OKLCHoklch(57.06% 0.214 339.6)
XYZxyz(29.4839, 15.9295, 34.3161)
Luminance0.1593 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E9F #2EC251
analogous
#9B2EC2 #C22E9F #C22E55
triadic
#C22E9F #9FC22E #2E9FC2
tetradic
#C22E9F #C29B2E #2EC251 #2E55C2
square
#C22E9F #C29B2E #2EC251 #2E55C2
split-complementary
#C22E9F #55C22E #2EC29B
monochromatic
#5F174E #912276 #C22E9F #D756B9 #E388CD

Accessibility & contrast

On white

5.02
#C22E9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C22E9F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E9F
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E9F#FFFFFF#000000##FFFFFF
##C22E9F1.005.024.195.02
#FFFFFF5.021.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c22e9f;
/* rgb */ color: rgb(194, 46, 159);
/* oklch */ color: oklch(57.1% 0.214 339.6);
Tailwind
colors: {
  custom: {
    50: '#d976bb',
    500: '#c22e9f',
    950: '#000000',
  },
}
SCSS
$custom: #c22e9f;
$custom-light: #d976bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e9f",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 159
  },
  "hsl": {
    "h": 314.189,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.57056,
    "c": 0.21444,
    "h": 339.6
  },
  "luminance": 0.15927
}

Semantic roles & 50–950 ramp

primary
#C22E9F
secondary
#7FCC92
accent
#E56943
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C22E9F

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

Preview Lab → · Contrast checker → · Palette generator →

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