#C21F58#C21F58

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

Color values

HEX#C21F58
RGBrgb(194, 31, 88)
HSLhsl(339, 72%, 44%)
HSVhsv(339, 84%, 76%)
CMYKcmyk(0%, 84%, 54.6%, 23.9%)
CIE-LABlab(43.00, 63.91, 10.07)
CIE-LCHlch(43.00, 64.70, 8.95°)
OKLaboklab(53.41% 0.1949 0.0257)
OKLCHoklch(53.41% 0.197 7.5)
XYZxyz(24.5020, 13.1575, 10.4801)
Luminance0.1315 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F58 #1FC289
analogous
#C21FAA #C21F58 #C2371F
triadic
#C21F58 #58C21F #1F58C2
tetradic
#C21F58 #AAC21F #1FC289 #371FC2
square
#C21F58 #AAC21F #1FC289 #371FC2
split-complementary
#C21F58 #1FC237 #1FAAC2
monochromatic
#580E28 #8D1740 #C21F58 #E03E77 #E9739C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C21F58#FFFFFF#000000##FFFFFF
##C21F581.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)
#4E5159
Deuteranopia (green-blind)
#787154
Tritanopia (blue-blind)
#D4003A
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c21f58;
/* rgb */ color: rgb(194, 31, 88);
/* oklch */ color: oklch(53.4% 0.197 7.5);
Tailwind
colors: {
  custom: {
    50: '#dc6f86',
    500: '#c21f58',
    950: '#000000',
  },
}
SCSS
$custom: #c21f58;
$custom-light: #dc6f86;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f58",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 88
  },
  "hsl": {
    "h": 339.018,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5341,
    "c": 0.19656,
    "h": 7.5
  },
  "luminance": 0.13154
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C21F58

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

Preview Lab → · Contrast checker → · Palette generator →

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