#C22C8E#C22C8E

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

Color values

HEX#C22C8E
RGBrgb(194, 44, 142)
HSLhsl(321, 63%, 47%)
HSVhsv(321, 77%, 76%)
CMYKcmyk(0%, 77.3%, 26.8%, 23.9%)
CIE-LABlab(45.94, 65.82, -18.93)
CIE-LCHlch(45.94, 68.49, 343.96°)
OKLaboklab(56.14% 0.2 -0.0502)
OKLCHoklch(56.14% 0.206 345.9)
XYZxyz(28.0326, 15.2268, 27.0487)
Luminance0.1522 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C8E #2CC260
analogous
#AB2CC2 #C22C8E #C22C43
triadic
#C22C8E #8EC22C #2C8EC2
tetradic
#C22C8E #C2AB2C #2CC260 #2C43C2
square
#C22C8E #C2AB2C #2CC260 #2C43C2
split-complementary
#C22C8E #43C22C #2CC2AB
monochromatic
#5E1545 #902169 #C22C8E #D853AA #E385C3

Accessibility & contrast

On white

5.19
#C22C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.04
#C22C8E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C8E
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C8E#FFFFFF#000000##FFFFFF
##C22C8E1.005.194.045.19
#FFFFFF5.191.0021.001.00
#0000004.0421.001.0021.00
##FFFFFF5.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c22c8e;
/* rgb */ color: rgb(194, 44, 142);
/* oklch */ color: oklch(56.1% 0.206 345.9);
Tailwind
colors: {
  custom: {
    50: '#d975af',
    500: '#c22c8e',
    950: '#000000',
  },
}
SCSS
$custom: #c22c8e;
$custom-light: #d975af;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c8e",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 142
  },
  "hsl": {
    "h": 320.8,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.56137,
    "c": 0.20622,
    "h": 345.9
  },
  "luminance": 0.15224
}

Semantic roles & 50–950 ramp

primary
#C22C8E
secondary
#7DCD99
accent
#E67B42
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C22C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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