#C21F5D#C21F5D

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

Color values

HEX#C21F5D
RGBrgb(194, 31, 93)
HSLhsl(337, 72%, 44%)
HSVhsv(337, 84%, 76%)
CMYKcmyk(0%, 84%, 52.1%, 23.9%)
CIE-LABlab(43.13, 64.28, 7.11)
CIE-LCHlch(43.13, 64.67, 6.31°)
OKLaboklab(53.55% 0.1967 0.0186)
OKLCHoklch(53.55% 0.198 5.4)
XYZxyz(24.7162, 13.2432, 11.6085)
Luminance0.1324 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F5D #1FC284
analogous
#C21FAF #C21F5D #C2331F
triadic
#C21F5D #5DC21F #1F5DC2
tetradic
#C21F5D #AFC21F #1FC284 #331FC2
square
#C21F5D #AFC21F #1FC284 #331FC2
split-complementary
#C21F5D #1FC233 #1FAFC2
monochromatic
#580E2A #8D1744 #C21F5D #E03E7C #E973A0

Accessibility & contrast

On white

5.76
#C21F5D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.65
#C21F5D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F5D
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F5D#FFFFFF#000000##FFFFFF
##C21F5D1.005.763.655.76
#FFFFFF5.761.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525E
Deuteranopia (green-blind)
#777159
Tritanopia (blue-blind)
#D4003C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c21f5d;
/* rgb */ color: rgb(194, 31, 93);
/* oklch */ color: oklch(53.5% 0.198 5.4);
Tailwind
colors: {
  custom: {
    50: '#db6f8a',
    500: '#c21f5d',
    950: '#000000',
  },
}
SCSS
$custom: #c21f5d;
$custom-light: #db6f8a;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f5d",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 93
  },
  "hsl": {
    "h": 337.178,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53545,
    "c": 0.19758,
    "h": 5.4
  },
  "luminance": 0.1324
}

Semantic roles & 50–950 ramp

primary
#C21F5D
secondary
#6DCFAA
accent
#EFAA39
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C21F5D

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

Preview Lab → · Contrast checker → · Palette generator →

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