#C21E4F#C21E4F

#C21E4F is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.1% C 0.196 H 11.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#C21E4F
RGBrgb(194, 30, 79)
HSLhsl(342, 73%, 44%)
HSVhsv(342, 85%, 76%)
CMYKcmyk(0%, 84.5%, 59.3%, 23.9%)
CIE-LABlab(42.71, 63.51, 15.32)
CIE-LCHlch(42.71, 65.34, 13.56°)
OKLaboklab(53.13% 0.1922 0.038)
OKLCHoklch(53.13% 0.196 11.2)
XYZxyz(24.1262, 12.9661, 8.6280)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21E4F #1EC291
analogous
#C21EA1 #C21E4F #C23F1E
triadic
#C21E4F #4FC21E #1E4FC2
tetradic
#C21E4F #A1C21E #1EC291 #3F1EC2
square
#C21E4F #A1C21E #1EC291 #3F1EC2
split-complementary
#C21E4F #1EC23F #1EA1C2
monochromatic
#580E24 #8D1639 #C21E4F #E13C6D #E97195

Accessibility & contrast

On white

5.85
#C21E4F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#C21E4F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21E4F
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21E4F#FFFFFF#000000##FFFFFF
##C21E4F1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c21e4f;
/* rgb */ color: rgb(194, 30, 79);
/* oklch */ color: oklch(53.1% 0.196 11.2);
Tailwind
colors: {
  custom: {
    50: '#dc6e7f',
    500: '#c21e4f',
    950: '#000000',
  },
}
SCSS
$custom: #c21e4f;
$custom-light: #dc6e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c21e4f",
  "rgb": {
    "r": 194,
    "g": 30,
    "b": 79
  },
  "hsl": {
    "h": 342.073,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5313,
    "c": 0.19589,
    "h": 11.2
  },
  "luminance": 0.12962
}

Semantic roles & 50–950 ramp

primary
#C21E4F
secondary
#6CD0B2
accent
#F0B938
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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