#C22C5E#C22C5E

#C22C5E is a mid, vivid pink. Relative luminance 0.141; OKLCH L 54.5% C 0.187 H 6.5°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).

Color values

HEX#C22C5E
RGBrgb(194, 44, 94)
HSLhsl(340, 63%, 47%)
HSVhsv(340, 77%, 76%)
CMYKcmyk(0%, 77.3%, 51.5%, 23.9%)
CIE-LABlab(44.35, 60.96, 8.22)
CIE-LCHlch(44.35, 61.51, 7.68°)
OKLaboklab(54.45% 0.1861 0.0213)
OKLCHoklch(54.45% 0.187 6.5)
XYZxyz(25.1715, 14.0824, 11.9802)
Luminance0.1408 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C5E #2CC290
analogous
#C22CA9 #C22C5E #C2452C
triadic
#C22C5E #5EC22C #2C5EC2
tetradic
#C22C5E #A9C22C #2CC290 #452CC2
square
#C22C5E #A9C22C #2CC290 #452CC2
split-complementary
#C22C5E #2CC245 #2CA9C2
monochromatic
#5E152E #902146 #C22C5E #D8537F #E385A4

Accessibility & contrast

On white

5.50
#C22C5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.82
#C22C5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22C5E
5.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22C5E#FFFFFF#000000##FFFFFF
##C22C5E1.005.503.825.50
#FFFFFF5.501.0021.001.00
#0000003.8221.001.0021.00
##FFFFFF5.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53565F
Deuteranopia (green-blind)
#7A745A
Tritanopia (blue-blind)
#D40042
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22c5e;
/* rgb */ color: rgb(194, 44, 94);
/* oklch */ color: oklch(54.5% 0.187 6.5);
Tailwind
colors: {
  custom: {
    50: '#db748b',
    500: '#c22c5e',
    950: '#000000',
  },
}
SCSS
$custom: #c22c5e;
$custom-light: #db748b;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c5e",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 340,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54452,
    "c": 0.18728,
    "h": 6.5
  },
  "luminance": 0.14079
}

Semantic roles & 50–950 ramp

primary
#C22C5E
secondary
#7DCDB2
accent
#E6AF42
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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