#C21F5E#C21F5E

#C21F5E is a mid, vivid pink. Relative luminance 0.133; OKLCH L 53.6% C 0.198 H 5.0°. Best body text is #FFFFFF at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#C21F5E
RGBrgb(194, 31, 94)
HSLhsl(337, 72%, 44%)
HSVhsv(337, 84%, 76%)
CMYKcmyk(0%, 84%, 51.5%, 23.9%)
CIE-LABlab(43.15, 64.36, 6.52)
CIE-LCHlch(43.15, 64.69, 5.78°)
OKLaboklab(53.57% 0.1971 0.0171)
OKLCHoklch(53.57% 0.198 5)
XYZxyz(24.7608, 13.2610, 11.8433)
Luminance0.1326 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F5E #1FC283
analogous
#C21FB0 #C21F5E #C2321F
triadic
#C21F5E #5EC21F #1F5EC2
tetradic
#C21F5E #B0C21F #1FC283 #321FC2
square
#C21F5E #B0C21F #1FC283 #321FC2
split-complementary
#C21F5E #1FC232 #1FB0C2
monochromatic
#580E2B #8D1744 #C21F5E #E03E7D #E973A0

Accessibility & contrast

On white

5.75
#C21F5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C21F5E
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F5E#FFFFFF#000000##FFFFFF
##C21F5E1.005.753.655.75
#FFFFFF5.751.0021.001.00
#0000003.6521.001.0021.00
##FFFFFF5.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D525F
Deuteranopia (green-blind)
#77715A
Tritanopia (blue-blind)
#D4003D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c21f5e;
/* rgb */ color: rgb(194, 31, 94);
/* oklch */ color: oklch(53.6% 0.198 5.0);
Tailwind
colors: {
  custom: {
    50: '#db6f8b',
    500: '#c21f5e',
    950: '#000000',
  },
}
SCSS
$custom: #c21f5e;
$custom-light: #db6f8b;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f5e",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 94
  },
  "hsl": {
    "h": 336.81,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53573,
    "c": 0.19781,
    "h": 5
  },
  "luminance": 0.13257
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C21F5E

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

Preview Lab → · Contrast checker → · Palette generator →

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