#C21F5B#C21F5B

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

Color values

HEX#C21F5B
RGBrgb(194, 31, 91)
HSLhsl(338, 72%, 44%)
HSVhsv(338, 84%, 76%)
CMYKcmyk(0%, 84%, 53.1%, 23.9%)
CIE-LABlab(43.08, 64.13, 8.29)
CIE-LCHlch(43.08, 64.66, 7.37°)
OKLaboklab(53.49% 0.196 0.0215)
OKLCHoklch(53.49% 0.197 6.2)
XYZxyz(24.6288, 13.2082, 11.1481)
Luminance0.1321 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21F5B #1FC286
analogous
#C21FAD #C21F5B #C2351F
triadic
#C21F5B #5BC21F #1F5BC2
tetradic
#C21F5B #ADC21F #1FC286 #351FC2
square
#C21F5B #ADC21F #1FC286 #351FC2
split-complementary
#C21F5B #1FC235 #1FADC2
monochromatic
#580E29 #8D1742 #C21F5B #E03E7A #E9739E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C21F5B#FFFFFF#000000##FFFFFF
##C21F5B1.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)
#4D515C
Deuteranopia (green-blind)
#777157
Tritanopia (blue-blind)
#D4003B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #c21f5b;
/* rgb */ color: rgb(194, 31, 91);
/* oklch */ color: oklch(53.5% 0.197 6.2);
Tailwind
colors: {
  custom: {
    50: '#db6f89',
    500: '#c21f5b',
    950: '#000000',
  },
}
SCSS
$custom: #c21f5b;
$custom-light: #db6f89;
$custom-dark: #000000;
JSON
{
  "hex": "#c21f5b",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 91
  },
  "hsl": {
    "h": 337.914,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5349,
    "c": 0.19715,
    "h": 6.2
  },
  "luminance": 0.13205
}

Semantic roles & 50–950 ramp

primary
#C21F5B
secondary
#6DCFAB
accent
#EFAC39
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C21F5B

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

Preview Lab → · Contrast checker → · Palette generator →

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