#C21E4D#C21E4D

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

Color values

HEX#C21E4D
RGBrgb(194, 30, 77)
HSLhsl(343, 73%, 44%)
HSVhsv(343, 85%, 76%)
CMYKcmyk(0%, 84.5%, 60.3%, 23.9%)
CIE-LABlab(42.67, 63.39, 16.52)
CIE-LCHlch(42.67, 65.50, 14.61°)
OKLaboklab(53.08% 0.1914 0.0407)
OKLCHoklch(53.08% 0.196 12)
XYZxyz(24.0545, 12.9374, 8.2503)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21E4D #1EC293
analogous
#C21E9F #C21E4D #C2411E
triadic
#C21E4D #4DC21E #1E4DC2
tetradic
#C21E4D #9FC21E #1EC293 #411EC2
square
#C21E4D #9FC21E #1EC293 #411EC2
split-complementary
#C21E4D #1EC241 #1E9FC2
monochromatic
#580E23 #8D1638 #C21E4D #E13C6B #E97194

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C21E4D#FFFFFF#000000##FFFFFF
##C21E4D1.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)
#50504E
Deuteranopia (green-blind)
#797049
Tritanopia (blue-blind)
#D50034
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c21e4d;
/* rgb */ color: rgb(194, 30, 77);
/* oklch */ color: oklch(53.1% 0.196 12.0);
Tailwind
colors: {
  custom: {
    50: '#dc6e7e',
    500: '#c21e4d',
    950: '#000000',
  },
}
SCSS
$custom: #c21e4d;
$custom-light: #dc6e7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c21e4d",
  "rgb": {
    "r": 194,
    "g": 30,
    "b": 77
  },
  "hsl": {
    "h": 342.805,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.53084,
    "c": 0.19569,
    "h": 12
  },
  "luminance": 0.12934
}

Semantic roles & 50–950 ramp

primary
#C21E4D
secondary
#6CD0B3
accent
#F0BB38
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #C21E4D

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

Preview Lab → · Contrast checker → · Palette generator →

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