#C22C8C#C22C8C

#C22C8C is a mid, highly saturated pink. Relative luminance 0.152; OKLCH L 56.1% C 0.205 H 346.7°. Best body text is #FFFFFF at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#C22C8C
RGBrgb(194, 44, 140)
HSLhsl(322, 63%, 47%)
HSVhsv(322, 77%, 76%)
CMYKcmyk(0%, 77.3%, 27.8%, 23.9%)
CIE-LABlab(45.86, 65.58, -17.84)
CIE-LCHlch(45.86, 67.97, 344.78°)
OKLaboklab(56.05% 0.1996 -0.0472)
OKLCHoklch(56.05% 0.205 346.7)
XYZxyz(27.8838, 15.1673, 26.2650)
Luminance0.1516 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C8C #2CC262
analogous
#AD2CC2 #C22C8C #C22C41
triadic
#C22C8C #8CC22C #2C8CC2
tetradic
#C22C8C #C2AD2C #2CC262 #2C41C2
square
#C22C8C #C2AD2C #2CC262 #2C41C2
split-complementary
#C22C8C #41C22C #2CC2AD
monochromatic
#5E1544 #902168 #C22C8C #D853A8 #E385C1

Accessibility & contrast

On white

5.21
#C22C8C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C22C8C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C8C
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C8C#FFFFFF#000000##FFFFFF
##C22C8C1.005.214.035.21
#FFFFFF5.211.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#425C8E
Deuteranopia (green-blind)
#6F7689
Tritanopia (blue-blind)
#D02759
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c22c8c;
/* rgb */ color: rgb(194, 44, 140);
/* oklch */ color: oklch(56.1% 0.205 346.7);
Tailwind
colors: {
  custom: {
    50: '#d975ad',
    500: '#c22c8c',
    950: '#000000',
  },
}
SCSS
$custom: #c22c8c;
$custom-light: #d975ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c8c",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 140
  },
  "hsl": {
    "h": 321.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56052,
    "c": 0.20512,
    "h": 346.7
  },
  "luminance": 0.15164
}

Semantic roles & 50–950 ramp

primary
#C22C8C
secondary
#7DCD9A
accent
#E67D42
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22C8C

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

Preview Lab → · Contrast checker → · Palette generator →

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