#C22C98#C22C98

#C22C98 is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.6% C 0.212 H 342.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C22C98
RGBrgb(194, 44, 152)
HSLhsl(317, 63%, 47%)
HSVhsv(317, 77%, 76%)
CMYKcmyk(0%, 77.3%, 21.6%, 23.9%)
CIE-LABlab(46.37, 67.08, -24.30)
CIE-LCHlch(46.37, 71.35, 340.09°)
OKLaboklab(56.58% 0.2017 -0.0653)
OKLCHoklch(56.58% 0.212 342.1)
XYZxyz(28.8173, 15.5407, 31.1817)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C98 #2CC256
analogous
#A12CC2 #C22C98 #C22C4D
triadic
#C22C98 #98C22C #2C98C2
tetradic
#C22C98 #C2A12C #2CC256 #2C4DC2
square
#C22C98 #C2A12C #2CC256 #2C4DC2
split-complementary
#C22C98 #4DC22C #2CC2A1
monochromatic
#5E154A #902171 #C22C98 #D853B3 #E385C9

Accessibility & contrast

On white

5.11
#C22C98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C22C98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C98
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C98#FFFFFF#000000##FFFFFF
##C22C981.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B5E9B
Deuteranopia (green-blind)
#6B7795
Tritanopia (blue-blind)
#CE2E5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c22c98;
/* rgb */ color: rgb(194, 44, 152);
/* oklch */ color: oklch(56.6% 0.212 342.1);
Tailwind
colors: {
  custom: {
    50: '#d975b6',
    500: '#c22c98',
    950: '#000000',
  },
}
SCSS
$custom: #c22c98;
$custom-light: #d975b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c98",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 152
  },
  "hsl": {
    "h": 316.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56581,
    "c": 0.21205,
    "h": 342.1
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#C22C98
secondary
#7DCD93
accent
#E67042
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C22C98

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

Preview Lab → · Contrast checker → · Palette generator →

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