#C22C5F#C22C5F

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

Color values

HEX#C22C5F
RGBrgb(194, 44, 95)
HSLhsl(340, 63%, 47%)
HSVhsv(340, 77%, 76%)
CMYKcmyk(0%, 77.3%, 51%, 23.9%)
CIE-LABlab(44.38, 61.04, 7.63)
CIE-LCHlch(44.38, 61.51, 7.13°)
OKLaboklab(54.48% 0.1864 0.0199)
OKLCHoklch(54.48% 0.187 6.1)
XYZxyz(25.2166, 14.1004, 12.2181)
Luminance0.1410 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22C5F #2CC28F
analogous
#C22CAA #C22C5F #C2442C
triadic
#C22C5F #5FC22C #2C5FC2
tetradic
#C22C5F #AAC22C #2CC28F #442CC2
square
#C22C5F #AAC22C #2CC28F #442CC2
split-complementary
#C22C5F #2CC244 #2CAAC2
monochromatic
#5E152E #902147 #C22C5F #D85380 #E385A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C22C5F#FFFFFF#000000##FFFFFF
##C22C5F1.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)
#525660
Deuteranopia (green-blind)
#7A745B
Tritanopia (blue-blind)
#D40042
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22c5f;
/* rgb */ color: rgb(194, 44, 95);
/* oklch */ color: oklch(54.5% 0.187 6.1);
Tailwind
colors: {
  custom: {
    50: '#db748c',
    500: '#c22c5f',
    950: '#000000',
  },
}
SCSS
$custom: #c22c5f;
$custom-light: #db748c;
$custom-dark: #000000;
JSON
{
  "hex": "#c22c5f",
  "rgb": {
    "r": 194,
    "g": 44,
    "b": 95
  },
  "hsl": {
    "h": 339.6,
    "s": 63.025,
    "l": 46.667
  },
  "oklch": {
    "l": 0.5448,
    "c": 0.18749,
    "h": 6.1
  },
  "luminance": 0.14097
}

Semantic roles & 50–950 ramp

primary
#C22C5F
secondary
#7DCDB2
accent
#E6AE42
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C22C5F

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

Preview Lab → · Contrast checker → · Palette generator →

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