#C21D9A#C21D9A

#C21D9A is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.8% C 0.226 H 340.9°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C21D9A
RGBrgb(194, 29, 154)
HSLhsl(315, 74%, 44%)
HSVhsv(315, 85%, 76%)
CMYKcmyk(0%, 85.1%, 20.6%, 23.9%)
CIE-LABlab(45.20, 70.96, -27.32)
CIE-LCHlch(45.20, 76.03, 338.95°)
OKLaboklab(55.77% 0.2131 -0.0737)
OKLCHoklch(55.77% 0.226 340.9)
XYZxyz(28.5212, 14.6842, 31.8979)
Luminance0.1468 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21D9A #1DC245
analogous
#971DC2 #C21D9A #C21D48
triadic
#C21D9A #9AC21D #1D9AC2
tetradic
#C21D9A #C2971D #1DC245 #1D48C2
square
#C21D9A #C2971D #1DC245 #1D48C2
split-complementary
#C21D9A #48C21D #1DC297
monochromatic
#580D45 #8D1570 #C21D9A #E23BB9 #EA70CC

Accessibility & contrast

On white

5.34
#C21D9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.94
#C21D9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21D9A
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21D9A#FFFFFF#000000##FFFFFF
##C21D9A1.005.343.945.34
#FFFFFF5.341.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F5B9D
Deuteranopia (green-blind)
#677497
Tritanopia (blue-blind)
#CE235D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c21d9a;
/* rgb */ color: rgb(194, 29, 154);
/* oklch */ color: oklch(55.8% 0.226 340.9);
Tailwind
colors: {
  custom: {
    50: '#d971b8',
    500: '#c21d9a',
    950: '#000000',
  },
}
SCSS
$custom: #c21d9a;
$custom-light: #d971b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c21d9a",
  "rgb": {
    "r": 194,
    "g": 29,
    "b": 154
  },
  "hsl": {
    "h": 314.545,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.5577,
    "c": 0.2255,
    "h": 340.9
  },
  "luminance": 0.14681
}

Semantic roles & 50–950 ramp

primary
#C21D9A
secondary
#6BD083
accent
#F16437
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C21D9A

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

Preview Lab → · Contrast checker → · Palette generator →

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