#C21C4E#C21C4E

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

Color values

HEX#C21C4E
RGBrgb(194, 28, 78)
HSLhsl(342, 75%, 44%)
HSVhsv(342, 86%, 76%)
CMYKcmyk(0%, 85.6%, 59.8%, 23.9%)
CIE-LABlab(42.54, 63.87, 15.72)
CIE-LCHlch(42.54, 65.78, 13.83°)
OKLaboklab(53% 0.1932 0.0389)
OKLCHoklch(53% 0.197 11.4)
XYZxyz(24.0411, 12.8536, 8.4214)
Luminance0.1285 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21C4E #1CC290
analogous
#C21CA1 #C21C4E #C23D1C
triadic
#C21C4E #4EC21C #1C4EC2
tetradic
#C21C4E #A1C21C #1CC290 #3D1CC2
square
#C21C4E #A1C21C #1CC290 #3D1CC2
split-complementary
#C21C4E #1CC23D #1CA1C2
monochromatic
#570D23 #8D1438 #C21C4E #E2396C #EA6E94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C21C4E#FFFFFF#000000##FFFFFF
##C21C4E1.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)
#4F4F4F
Deuteranopia (green-blind)
#79704A
Tritanopia (blue-blind)
#D50034
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #c21c4e;
/* rgb */ color: rgb(194, 28, 78);
/* oklch */ color: oklch(53.0% 0.197 11.4);
Tailwind
colors: {
  custom: {
    50: '#dc6e7f',
    500: '#c21c4e',
    950: '#000000',
  },
}
SCSS
$custom: #c21c4e;
$custom-light: #dc6e7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c21c4e",
  "rgb": {
    "r": 194,
    "g": 28,
    "b": 78
  },
  "hsl": {
    "h": 341.928,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52998,
    "c": 0.19705,
    "h": 11.4
  },
  "luminance": 0.1285
}

Semantic roles & 50–950 ramp

primary
#C21C4E
secondary
#6AD0B1
accent
#F1B936
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21C4E

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

Preview Lab → · Contrast checker → · Palette generator →

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