#C21F4F#C21F4F

#C21F4F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 11.3°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#C21F4F
RGBrgb(194, 31, 79)
HSLhsl(342, 72%, 44%)
HSVhsv(342, 84%, 76%)
CMYKcmyk(0%, 84%, 59.3%, 23.9%)
CIE-LABlab(42.79, 63.29, 15.43)
CIE-LCHlch(42.79, 65.14, 13.70°)
OKLaboklab(53.19% 0.1915 0.0383)
OKLCHoklch(53.19% 0.195 11.3)
XYZxyz(24.1519, 13.0175, 8.6365)
Luminance0.1301 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F4F #1FC292
analogous
#C21FA1 #C21F4F #C2411F
triadic
#C21F4F #4FC21F #1F4FC2
tetradic
#C21F4F #A1C21F #1FC292 #411FC2
square
#C21F4F #A1C21F #1FC292 #411FC2
split-complementary
#C21F4F #1FC241 #1FA1C2
monochromatic
#580E24 #8D173A #C21F4F #E03E6E #E97395

Accessibility & contrast

On white

5.83
#C21F4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#C21F4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F4F
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F4F#FFFFFF#000000##FFFFFF
##C21F4F1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505050
Deuteranopia (green-blind)
#79714B
Tritanopia (blue-blind)
#D50035
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c21f4f;
/* rgb */ color: rgb(194, 31, 79);
/* oklch */ color: oklch(53.2% 0.195 11.3);
Tailwind
colors: {
  custom: {
    50: '#dc6f80',
    500: '#c21f4f',
    950: '#000000',
  },
}
SCSS
$custom: #c21f4f;
$custom-light: #dc6f80;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f4f",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 79
  },
  "hsl": {
    "h": 342.331,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53187,
    "c": 0.19525,
    "h": 11.3
  },
  "luminance": 0.13014
}

Semantic roles & 50–950 ramp

primary
#C21F4F
secondary
#6DCFB3
accent
#EFB939
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21F4F

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

Preview Lab → · Contrast checker → · Palette generator →

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