#C22F57#C22F57

#C22F57 is a mid, vivid pink. Relative luminance 0.142; OKLCH L 54.5% C 0.183 H 10.2°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#C22F57
RGBrgb(194, 47, 87)
HSLhsl(344, 61%, 47%)
HSVhsv(344, 76%, 76%)
CMYKcmyk(0%, 75.8%, 55.2%, 23.9%)
CIE-LABlab(44.51, 59.49, 12.79)
CIE-LCHlch(44.51, 60.85, 12.13°)
OKLaboklab(54.51% 0.1804 0.0323)
OKLCHoklch(54.51% 0.183 10.2)
XYZxyz(24.9873, 14.1940, 10.4389)
Luminance0.1419 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C22F57 #2FC29A
analogous
#C22FA1 #C22F57 #C2502F
triadic
#C22F57 #57C22F #2F57C2
tetradic
#C22F57 #A1C22F #2FC29A #502FC2
square
#C22F57 #A1C22F #2FC29A #502FC2
split-complementary
#C22F57 #2FC250 #2FA1C2
monochromatic
#5F172B #912341 #C22F57 #D6587A #E289A1

Accessibility & contrast

On white

5.47
#C22F57 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.84
#C22F57 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C22F57
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C22F57#FFFFFF#000000##FFFFFF
##C22F571.005.473.845.47
#FFFFFF5.471.0021.001.00
#0000003.8421.001.0021.00
##FFFFFF5.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565658
Deuteranopia (green-blind)
#7C7453
Tritanopia (blue-blind)
#D40040
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c22f57;
/* rgb */ color: rgb(194, 47, 87);
/* oklch */ color: oklch(54.5% 0.183 10.2);
Tailwind
colors: {
  custom: {
    50: '#db7586',
    500: '#c22f57',
    950: '#000000',
  },
}
SCSS
$custom: #c22f57;
$custom-light: #db7586;
$custom-dark: #000000;
JSON
{
  "hex": "#c22f57",
  "rgb": {
    "r": 194,
    "g": 47,
    "b": 87
  },
  "hsl": {
    "h": 343.673,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54514,
    "c": 0.1833,
    "h": 10.2
  },
  "luminance": 0.1419
}

Semantic roles & 50–950 ramp

primary
#C22F57
secondary
#81CCB8
accent
#E4B844
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C22F57

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

Preview Lab → · Contrast checker → · Palette generator →

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