#C21F5A#C21F5A

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

Color values

HEX#C21F5A
RGBrgb(194, 31, 90)
HSLhsl(338, 72%, 44%)
HSVhsv(338, 84%, 76%)
CMYKcmyk(0%, 84%, 53.6%, 23.9%)
CIE-LABlab(43.05, 64.06, 8.88)
CIE-LCHlch(43.05, 64.67, 7.89°)
OKLaboklab(53.46% 0.1956 0.0229)
OKLCHoklch(53.46% 0.197 6.7)
XYZxyz(24.5860, 13.1911, 10.9224)
Luminance0.1319 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F5A #1FC287
analogous
#C21FAC #C21F5A #C2361F
triadic
#C21F5A #5AC21F #1F5AC2
tetradic
#C21F5A #ACC21F #1FC287 #361FC2
square
#C21F5A #ACC21F #1FC287 #361FC2
split-complementary
#C21F5A #1FC236 #1FACC2
monochromatic
#580E29 #8D1742 #C21F5A #E03E79 #E9739D

Accessibility & contrast

On white

5.77
#C21F5A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#C21F5A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F5A
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F5A#FFFFFF#000000##FFFFFF
##C21F5A1.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E515B
Deuteranopia (green-blind)
#787156
Tritanopia (blue-blind)
#D4003B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c21f5a;
/* rgb */ color: rgb(194, 31, 90);
/* oklch */ color: oklch(53.5% 0.197 6.7);
Tailwind
colors: {
  custom: {
    50: '#db6f88',
    500: '#c21f5a',
    950: '#000000',
  },
}
SCSS
$custom: #c21f5a;
$custom-light: #db6f88;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f5a",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 90
  },
  "hsl": {
    "h": 338.282,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53463,
    "c": 0.19694,
    "h": 6.7
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#C21F5A
secondary
#6DCFAC
accent
#EFAD39
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16080B
muted
#847B7C

Preview Lab

Preview with #C21F5A

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

Preview Lab → · Contrast checker → · Palette generator →

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