#C21F4E#C21F4E

#C21F4E is a mid, vivid pink. Relative luminance 0.130; OKLCH L 53.2% C 0.195 H 11.7°. Best body text is #FFFFFF at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#C21F4E
RGBrgb(194, 31, 78)
HSLhsl(343, 72%, 44%)
HSVhsv(343, 84%, 76%)
CMYKcmyk(0%, 84%, 59.8%, 23.9%)
CIE-LABlab(42.77, 63.23, 16.03)
CIE-LCHlch(42.77, 65.23, 14.22°)
OKLaboklab(53.16% 0.1911 0.0396)
OKLCHoklch(53.16% 0.195 11.7)
XYZxyz(24.1158, 13.0030, 8.4463)
Luminance0.1300 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F4E #1FC293
analogous
#C21FA0 #C21F4E #C2411F
triadic
#C21F4E #4EC21F #1F4EC2
tetradic
#C21F4E #A0C21F #1FC293 #411FC2
square
#C21F4E #A0C21F #1FC293 #411FC2
split-complementary
#C21F4E #1FC241 #1FA0C2
monochromatic
#580E24 #8D1739 #C21F4E #E03E6D #E97395

Accessibility & contrast

On white

5.83
#C21F4E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.60
#C21F4E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F4E
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F4E#FFFFFF#000000##FFFFFF
##C21F4E1.005.833.605.83
#FFFFFF5.831.0021.001.00
#0000003.6021.001.0021.00
##FFFFFF5.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50504F
Deuteranopia (green-blind)
#79714A
Tritanopia (blue-blind)
#D50035
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c21f4e;
/* rgb */ color: rgb(194, 31, 78);
/* oklch */ color: oklch(53.2% 0.195 11.7);
Tailwind
colors: {
  custom: {
    50: '#dc6f7f',
    500: '#c21f4e',
    950: '#000000',
  },
}
SCSS
$custom: #c21f4e;
$custom-light: #dc6f7f;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f4e",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 78
  },
  "hsl": {
    "h": 342.699,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53164,
    "c": 0.19513,
    "h": 11.7
  },
  "luminance": 0.12999
}

Semantic roles & 50–950 ramp

primary
#C21F4E
secondary
#6DCFB3
accent
#EFBB39
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21F4E

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

Preview Lab → · Contrast checker → · Palette generator →

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