#C21F5C#C21F5C

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

Color values

HEX#C21F5C
RGBrgb(194, 31, 92)
HSLhsl(338, 72%, 44%)
HSVhsv(338, 84%, 76%)
CMYKcmyk(0%, 84%, 52.6%, 23.9%)
CIE-LABlab(43.10, 64.21, 7.70)
CIE-LCHlch(43.10, 64.67, 6.84°)
OKLaboklab(53.52% 0.1964 0.02)
OKLCHoklch(53.52% 0.197 5.8)
XYZxyz(24.6722, 13.2256, 11.3768)
Luminance0.1322 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F5C #1FC285
analogous
#C21FAE #C21F5C #C2341F
triadic
#C21F5C #5CC21F #1F5CC2
tetradic
#C21F5C #AEC21F #1FC285 #341FC2
square
#C21F5C #AEC21F #1FC285 #341FC2
split-complementary
#C21F5C #1FC234 #1FAEC2
monochromatic
#580E2A #8D1743 #C21F5C #E03E7B #E9739F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C21F5C#FFFFFF#000000##FFFFFF
##C21F5C1.005.763.645.76
#FFFFFF5.761.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c21f5c;
/* rgb */ color: rgb(194, 31, 92);
/* oklch */ color: oklch(53.5% 0.197 5.8);
Tailwind
colors: {
  custom: {
    50: '#db6f89',
    500: '#c21f5c',
    950: '#000000',
  },
}
SCSS
$custom: #c21f5c;
$custom-light: #db6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f5c",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 92
  },
  "hsl": {
    "h": 337.546,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53517,
    "c": 0.19737,
    "h": 5.8
  },
  "luminance": 0.13222
}

Semantic roles & 50–950 ramp

primary
#C21F5C
secondary
#6DCFAB
accent
#EFAB39
background
#FEF7F8
surface
#FDEDF0
border
#D5C8CB
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C21F5C

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

Preview Lab → · Contrast checker → · Palette generator →

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