#C21F52#C21F52

#C21F52 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.196 H 10.1°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C21F52
RGBrgb(194, 31, 82)
HSLhsl(341, 72%, 44%)
HSVhsv(341, 84%, 76%)
CMYKcmyk(0%, 84%, 57.7%, 23.9%)
CIE-LABlab(42.86, 63.49, 13.64)
CIE-LCHlch(42.86, 64.94, 12.12°)
OKLaboklab(53.26% 0.1926 0.0342)
OKLCHoklch(53.26% 0.196 10.1)
XYZxyz(24.2636, 13.0622, 9.2246)
Luminance0.1306 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F52 #1FC28F
analogous
#C21FA4 #C21F52 #C23E1F
triadic
#C21F52 #52C21F #1F52C2
tetradic
#C21F52 #A4C21F #1FC28F #3E1FC2
square
#C21F52 #A4C21F #1FC28F #3E1FC2
split-complementary
#C21F52 #1FC23E #1FA4C2
monochromatic
#580E25 #8D173C #C21F52 #E03E71 #E97398

Accessibility & contrast

On white

5.81
#C21F52 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#C21F52 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F52
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F52#FFFFFF#000000##FFFFFF
##C21F521.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505053
Deuteranopia (green-blind)
#79714E
Tritanopia (blue-blind)
#D40037
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c21f52;
/* rgb */ color: rgb(194, 31, 82);
/* oklch */ color: oklch(53.3% 0.196 10.1);
Tailwind
colors: {
  custom: {
    50: '#dc6f82',
    500: '#c21f52',
    950: '#000000',
  },
}
SCSS
$custom: #c21f52;
$custom-light: #dc6f82;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f52",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 82
  },
  "hsl": {
    "h": 341.227,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53258,
    "c": 0.19561,
    "h": 10.1
  },
  "luminance": 0.13059
}

Semantic roles & 50–950 ramp

primary
#C21F52
secondary
#6DCFB1
accent
#EFB639
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21F52

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

Preview Lab → · Contrast checker → · Palette generator →

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