#C22E9D#C22E9D

#C22E9D is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 57.0% C 0.213 H 340.3°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C22E9D
RGBrgb(194, 46, 157)
HSLhsl(315, 62%, 47%)
HSVhsv(315, 76%, 76%)
CMYKcmyk(0%, 76.3%, 19.1%, 23.9%)
CIE-LABlab(46.79, 67.16, -26.64)
CIE-LCHlch(46.79, 72.25, 338.37°)
OKLaboklab(56.96% 0.2007 -0.0719)
OKLCHoklch(56.96% 0.213 340.3)
XYZxyz(29.3118, 15.8606, 33.4095)
Luminance0.1586 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E9D #2EC253
analogous
#9D2EC2 #C22E9D #C22E53
triadic
#C22E9D #9DC22E #2E9DC2
tetradic
#C22E9D #C29D2E #2EC253 #2E53C2
square
#C22E9D #C29D2E #2EC253 #2E53C2
split-complementary
#C22E9D #53C22E #2EC29D
monochromatic
#5F174D #912275 #C22E9D #D756B7 #E388CC

Accessibility & contrast

On white

5.03
#C22E9D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C22E9D
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E9D#FFFFFF#000000##FFFFFF
##C22E9D1.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A60A0
Deuteranopia (green-blind)
#6A779A
Tritanopia (blue-blind)
#CE3363
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c22e9d;
/* rgb */ color: rgb(194, 46, 157);
/* oklch */ color: oklch(57.0% 0.213 340.3);
Tailwind
colors: {
  custom: {
    50: '#d976ba',
    500: '#c22e9d',
    950: '#000000',
  },
}
SCSS
$custom: #c22e9d;
$custom-light: #d976ba;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e9d",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 157
  },
  "hsl": {
    "h": 315,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56961,
    "c": 0.21317,
    "h": 340.3
  },
  "luminance": 0.15858
}

Semantic roles & 50–950 ramp

primary
#C22E9D
secondary
#7FCC93
accent
#E56B43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22E9D

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

Preview Lab → · Contrast checker → · Palette generator →

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