#C22E8E#C22E8E

#C22E8E is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.3% C 0.204 H 346.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C22E8E
RGBrgb(194, 46, 142)
HSLhsl(321, 62%, 47%)
HSVhsv(321, 76%, 76%)
CMYKcmyk(0%, 76.3%, 26.8%, 23.9%)
CIE-LABlab(46.15, 65.24, -18.61)
CIE-LCHlch(46.15, 67.84, 344.08°)
OKLaboklab(56.29% 0.1982 -0.0494)
OKLCHoklch(56.29% 0.204 346)
XYZxyz(28.1089, 15.3794, 27.0742)
Luminance0.1538 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22E8E #2EC262
analogous
#AC2EC2 #C22E8E #C22E44
triadic
#C22E8E #8EC22E #2E8EC2
tetradic
#C22E8E #C2AC2E #2EC262 #2E44C2
square
#C22E8E #C2AC2E #2EC262 #2E44C2
split-complementary
#C22E8E #44C22E #2EC2AC
monochromatic
#5F1746 #91226A #C22E8E #D756AA #E388C3

Accessibility & contrast

On white

5.15
#C22E8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C22E8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22E8E
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22E8E#FFFFFF#000000##FFFFFF
##C22E8E1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#435D91
Deuteranopia (green-blind)
#6F768B
Tritanopia (blue-blind)
#CF2A5B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c22e8e;
/* rgb */ color: rgb(194, 46, 142);
/* oklch */ color: oklch(56.3% 0.204 346.0);
Tailwind
colors: {
  custom: {
    50: '#d976af',
    500: '#c22e8e',
    950: '#000000',
  },
}
SCSS
$custom: #c22e8e;
$custom-light: #d976af;
$custom-dark: #000000;
JSON
{
  "hex": "#c22e8e",
  "rgb": {
    "r": 194,
    "g": 46,
    "b": 142
  },
  "hsl": {
    "h": 321.081,
    "s": 61.667,
    "l": 47.059
  },
  "oklch": {
    "l": 0.56287,
    "c": 0.20425,
    "h": 346
  },
  "luminance": 0.15376
}

Semantic roles & 50–950 ramp

primary
#C22E8E
secondary
#7FCC9A
accent
#E57C43
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C22E8E

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

Preview Lab → · Contrast checker → · Palette generator →

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