#C21F54#C21F54

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

Color values

HEX#C21F54
RGBrgb(194, 31, 84)
HSLhsl(340, 72%, 44%)
HSVhsv(340, 84%, 76%)
CMYKcmyk(0%, 84%, 56.7%, 23.9%)
CIE-LABlab(42.90, 63.63, 12.44)
CIE-LCHlch(42.90, 64.83, 11.07°)
OKLaboklab(53.31% 0.1934 0.0314)
OKLCHoklch(53.31% 0.196 9.2)
XYZxyz(24.3408, 13.0930, 9.6313)
Luminance0.1309 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F54 #1FC28D
analogous
#C21FA6 #C21F54 #C23C1F
triadic
#C21F54 #54C21F #1F54C2
tetradic
#C21F54 #A6C21F #1FC28D #3C1FC2
square
#C21F54 #A6C21F #1FC28D #3C1FC2
split-complementary
#C21F54 #1FC23C #1FA6C2
monochromatic
#580E26 #8D173D #C21F54 #E03E73 #E97399

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C21F54#FFFFFF#000000##FFFFFF
##C21F541.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)
#4F5155
Deuteranopia (green-blind)
#797150
Tritanopia (blue-blind)
#D40038
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c21f54;
/* rgb */ color: rgb(194, 31, 84);
/* oklch */ color: oklch(53.3% 0.196 9.2);
Tailwind
colors: {
  custom: {
    50: '#dc6f83',
    500: '#c21f54',
    950: '#000000',
  },
}
SCSS
$custom: #c21f54;
$custom-light: #dc6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f54",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 84
  },
  "hsl": {
    "h": 340.491,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53307,
    "c": 0.1959,
    "h": 9.2
  },
  "luminance": 0.13089
}

Semantic roles & 50–950 ramp

primary
#C21F54
secondary
#6DCFB0
accent
#EFB439
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21F54

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

Preview Lab → · Contrast checker → · Palette generator →

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