#C22F5E#C22F5E

#C22F5E is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.184 H 7.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C22F5E
RGBrgb(194, 47, 94)
HSLhsl(341, 61%, 47%)
HSVhsv(341, 76%, 76%)
CMYKcmyk(0%, 75.8%, 51.5%, 23.9%)
CIE-LABlab(44.68, 60.03, 8.68)
CIE-LCHlch(44.68, 60.65, 8.23°)
OKLaboklab(54.7% 0.1831 0.0225)
OKLCHoklch(54.7% 0.184 7)
XYZxyz(25.2873, 14.3140, 12.0188)
Luminance0.1431 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F5E #2FC293
analogous
#C22FA8 #C22F5E #C2492F
triadic
#C22F5E #5EC22F #2F5EC2
tetradic
#C22F5E #A8C22F #2FC293 #492FC2
square
#C22F5E #A8C22F #2FC293 #492FC2
split-complementary
#C22F5E #2FC249 #2FA8C2
monochromatic
#5F172E #912346 #C22F5E #D65880 #E289A6

Accessibility & contrast

On white

5.44
#C22F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#C22F5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F5E
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F5E#FFFFFF#000000##FFFFFF
##C22F5E1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54575F
Deuteranopia (green-blind)
#7B745A
Tritanopia (blue-blind)
#D40243
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c22f5e;
/* rgb */ color: rgb(194, 47, 94);
/* oklch */ color: oklch(54.7% 0.184 7.0);
Tailwind
colors: {
  custom: {
    50: '#db758b',
    500: '#c22f5e',
    950: '#000000',
  },
}
SCSS
$custom: #c22f5e;
$custom-light: #db758b;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f5e",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 94
  },
  "hsl": {
    "h": 340.816,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54695,
    "c": 0.18444,
    "h": 7
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#C22F5E
secondary
#81CCB4
accent
#E4B144
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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