#C21F55#C21F55

#C21F55 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.196 H 8.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).

Color values

HEX#C21F55
RGBrgb(194, 31, 85)
HSLhsl(340, 72%, 44%)
HSVhsv(340, 84%, 76%)
CMYKcmyk(0%, 84%, 56.2%, 23.9%)
CIE-LABlab(42.93, 63.70, 11.85)
CIE-LCHlch(42.93, 64.79, 10.54°)
OKLaboklab(53.33% 0.1938 0.03)
OKLCHoklch(53.33% 0.196 8.8)
XYZxyz(24.3803, 13.1088, 9.8391)
Luminance0.1310 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F55 #1FC28C
analogous
#C21FA7 #C21F55 #C23B1F
triadic
#C21F55 #55C21F #1F55C2
tetradic
#C21F55 #A7C21F #1FC28C #3B1FC2
square
#C21F55 #A7C21F #1FC28C #3B1FC2
split-complementary
#C21F55 #1FC23B #1FA7C2
monochromatic
#580E27 #8D173E #C21F55 #E03E74 #E9739A

Accessibility & contrast

On white

5.80
#C21F55 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#C21F55 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F55
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F55#FFFFFF#000000##FFFFFF
##C21F551.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5156
Deuteranopia (green-blind)
#787151
Tritanopia (blue-blind)
#D40038
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c21f55;
/* rgb */ color: rgb(194, 31, 85);
/* oklch */ color: oklch(53.3% 0.196 8.8);
Tailwind
colors: {
  custom: {
    50: '#dc6f84',
    500: '#c21f55',
    950: '#000000',
  },
}
SCSS
$custom: #c21f55;
$custom-light: #dc6f84;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f55",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 85
  },
  "hsl": {
    "h": 340.123,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53332,
    "c": 0.19605,
    "h": 8.8
  },
  "luminance": 0.13105
}

Semantic roles & 50–950 ramp

primary
#C21F55
secondary
#6DCFAF
accent
#EFB339
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21F55

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

Preview Lab → · Contrast checker → · Palette generator →

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