#C21D4B#C21D4B

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

Color values

HEX#C21D4B
RGBrgb(194, 29, 75)
HSLhsl(343, 74%, 44%)
HSVhsv(343, 85%, 76%)
CMYKcmyk(0%, 85.1%, 61.3%, 23.9%)
CIE-LABlab(42.55, 63.48, 17.62)
CIE-LCHlch(42.55, 65.88, 15.51°)
OKLaboklab(52.98% 0.1913 0.0432)
OKLCHoklch(52.98% 0.196 12.7)
XYZxyz(23.9601, 12.8598, 7.8758)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21D4B #1DC294
analogous
#C21D9D #C21D4B #C2421D
triadic
#C21D4B #4BC21D #1D4BC2
tetradic
#C21D4B #9DC21D #1DC294 #421DC2
square
#C21D4B #9DC21D #1DC294 #421DC2
split-complementary
#C21D4B #1DC242 #1D9DC2
monochromatic
#580D22 #8D1536 #C21D4B #E23B69 #EA7092

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C21D4B#FFFFFF#000000##FFFFFF
##C21D4B1.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)
#504F4C
Deuteranopia (green-blind)
#797047
Tritanopia (blue-blind)
#D50032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c21d4b;
/* rgb */ color: rgb(194, 29, 75);
/* oklch */ color: oklch(53.0% 0.196 12.7);
Tailwind
colors: {
  custom: {
    50: '#dc6e7c',
    500: '#c21d4b',
    950: '#000000',
  },
}
SCSS
$custom: #c21d4b;
$custom-light: #dc6e7c;
$custom-dark: #000000;
JSON
{
  "hex": "#c21d4b",
  "rgb": {
    "r": 194,
    "g": 29,
    "b": 75
  },
  "hsl": {
    "h": 343.273,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.52984,
    "c": 0.19614,
    "h": 12.7
  },
  "luminance": 0.12856
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C21D4B

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

Preview Lab → · Contrast checker → · Palette generator →

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