#C21F59#C21F59

#C21F59 is a mid, vivid pink. Relative luminance 0.132; OKLCH L 53.4% C 0.197 H 7.1°. Best body text is #FFFFFF at 5.78:1 contrast (WCAG AA passes).

Color values

HEX#C21F59
RGBrgb(194, 31, 89)
HSLhsl(339, 72%, 44%)
HSVhsv(339, 84%, 76%)
CMYKcmyk(0%, 84%, 54.1%, 23.9%)
CIE-LABlab(43.02, 63.98, 9.47)
CIE-LCHlch(43.02, 64.68, 8.42°)
OKLaboklab(53.44% 0.1952 0.0243)
OKLCHoklch(53.44% 0.197 7.1)
XYZxyz(24.5437, 13.1742, 10.6998)
Luminance0.1317 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F59 #1FC288
analogous
#C21FAB #C21F59 #C2361F
triadic
#C21F59 #59C21F #1F59C2
tetradic
#C21F59 #ABC21F #1FC288 #361FC2
square
#C21F59 #ABC21F #1FC288 #361FC2
split-complementary
#C21F59 #1FC236 #1FABC2
monochromatic
#580E29 #8D1741 #C21F59 #E03E78 #E9739D

Accessibility & contrast

On white

5.78
#C21F59 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#C21F59 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F59
5.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F59#FFFFFF#000000##FFFFFF
##C21F591.005.783.635.78
#FFFFFF5.781.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515A
Deuteranopia (green-blind)
#787155
Tritanopia (blue-blind)
#D4003A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c21f59;
/* rgb */ color: rgb(194, 31, 89);
/* oklch */ color: oklch(53.4% 0.197 7.1);
Tailwind
colors: {
  custom: {
    50: '#db6f87',
    500: '#c21f59',
    950: '#000000',
  },
}
SCSS
$custom: #c21f59;
$custom-light: #db6f87;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f59",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 89
  },
  "hsl": {
    "h": 338.65,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53436,
    "c": 0.19675,
    "h": 7.1
  },
  "luminance": 0.13171
}

Semantic roles & 50–950 ramp

primary
#C21F59
secondary
#6DCFAD
accent
#EFAE39
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #C21F59

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

Preview Lab → · Contrast checker → · Palette generator →

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