#C21D4A#C21D4A

#C21D4A is a mid, vivid pink. Relative luminance 0.128; OKLCH L 53.0% C 0.196 H 13.1°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#C21D4A
RGBrgb(194, 29, 74)
HSLhsl(344, 74%, 44%)
HSVhsv(344, 85%, 76%)
CMYKcmyk(0%, 85.1%, 61.9%, 23.9%)
CIE-LABlab(42.53, 63.42, 18.22)
CIE-LCHlch(42.53, 65.98, 16.03°)
OKLaboklab(52.96% 0.1909 0.0445)
OKLCHoklch(52.96% 0.196 13.1)
XYZxyz(23.9261, 12.8462, 7.6970)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21D4A #1DC295
analogous
#C21D9C #C21D4A #C2421D
triadic
#C21D4A #4AC21D #1D4AC2
tetradic
#C21D4A #9CC21D #1DC295 #421DC2
square
#C21D4A #9CC21D #1DC295 #421DC2
split-complementary
#C21D4A #1DC242 #1D9CC2
monochromatic
#580D21 #8D1536 #C21D4A #E23B68 #EA7091

Accessibility & contrast

On white

5.88
#C21D4A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#C21D4A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21D4A
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21D4A#FFFFFF#000000##FFFFFF
##C21D4A1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504F4A
Deuteranopia (green-blind)
#7A7046
Tritanopia (blue-blind)
#D50032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c21d4a;
/* rgb */ color: rgb(194, 29, 74);
/* oklch */ color: oklch(53.0% 0.196 13.1);
Tailwind
colors: {
  custom: {
    50: '#dc6e7c',
    500: '#c21d4a',
    950: '#000000',
  },
}
SCSS
$custom: #c21d4a;
$custom-light: #dc6e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c21d4a",
  "rgb": {
    "r": 194,
    "g": 29,
    "b": 74
  },
  "hsl": {
    "h": 343.636,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52962,
    "c": 0.19606,
    "h": 13.1
  },
  "luminance": 0.12842
}

Semantic roles & 50–950 ramp

primary
#C21D4A
secondary
#6BD0B4
accent
#F1BE37
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#160809
muted
#847B7B

Preview Lab

Preview with #C21D4A

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

Preview Lab → · Contrast checker → · Palette generator →

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