#C21F53#C21F53

#C21F53 is a mid, vivid pink. Relative luminance 0.131; OKLCH L 53.3% C 0.196 H 9.6°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#C21F53
RGBrgb(194, 31, 83)
HSLhsl(341, 72%, 44%)
HSVhsv(341, 84%, 76%)
CMYKcmyk(0%, 84%, 57.2%, 23.9%)
CIE-LABlab(42.88, 63.56, 13.04)
CIE-LCHlch(42.88, 64.88, 11.60°)
OKLaboklab(53.28% 0.193 0.0328)
OKLCHoklch(53.28% 0.196 9.6)
XYZxyz(24.3019, 13.0775, 9.4265)
Luminance0.1307 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F53 #1FC28E
analogous
#C21FA5 #C21F53 #C23D1F
triadic
#C21F53 #53C21F #1F53C2
tetradic
#C21F53 #A5C21F #1FC28E #3D1FC2
square
#C21F53 #A5C21F #1FC28E #3D1FC2
split-complementary
#C21F53 #1FC23D #1FA5C2
monochromatic
#580E26 #8D173C #C21F53 #E03E72 #E97398

Accessibility & contrast

On white

5.81
#C21F53 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#C21F53 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21F53
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21F53#FFFFFF#000000##FFFFFF
##C21F531.005.813.615.81
#FFFFFF5.811.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5054
Deuteranopia (green-blind)
#79714F
Tritanopia (blue-blind)
#D40037
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #c21f53;
/* rgb */ color: rgb(194, 31, 83);
/* oklch */ color: oklch(53.3% 0.196 9.6);
Tailwind
colors: {
  custom: {
    50: '#dc6f83',
    500: '#c21f53',
    950: '#000000',
  },
}
SCSS
$custom: #c21f53;
$custom-light: #dc6f83;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f53",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 83
  },
  "hsl": {
    "h": 340.859,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.53283,
    "c": 0.19575,
    "h": 9.6
  },
  "luminance": 0.13074
}

Semantic roles & 50–950 ramp

primary
#C21F53
secondary
#6DCFB0
accent
#EFB539
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16080A
muted
#847B7C

Preview Lab

Preview with #C21F53

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

Preview Lab → · Contrast checker → · Palette generator →

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