#C21D9C#C21D9C

#C21D9C is a mid, highly saturated pink. Relative luminance 0.147; OKLCH L 55.9% C 0.227 H 340.2°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C21D9C
RGBrgb(194, 29, 156)
HSLhsl(314, 74%, 44%)
HSVhsv(314, 85%, 76%)
CMYKcmyk(0%, 85.1%, 19.6%, 23.9%)
CIE-LABlab(45.29, 71.21, -28.37)
CIE-LCHlch(45.29, 76.66, 338.28°)
OKLaboklab(55.87% 0.2133 -0.0767)
OKLCHoklch(55.87% 0.227 340.2)
XYZxyz(28.6892, 14.7514, 32.7825)
Luminance0.1475 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21D9C #1DC243
analogous
#951DC2 #C21D9C #C21D49
triadic
#C21D9C #9CC21D #1D9CC2
tetradic
#C21D9C #C2951D #1DC243 #1D49C2
square
#C21D9C #C2951D #1DC243 #1D49C2
split-complementary
#C21D9C #49C21D #1DC295
monochromatic
#580D46 #8D1571 #C21D9C #E23BBB #EA70CE

Accessibility & contrast

On white

5.32
#C21D9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C21D9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21D9C
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21D9C#FFFFFF#000000##FFFFFF
##C21D9C1.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2E5B9F
Deuteranopia (green-blind)
#667498
Tritanopia (blue-blind)
#CE255E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c21d9c;
/* rgb */ color: rgb(194, 29, 156);
/* oklch */ color: oklch(55.9% 0.227 340.2);
Tailwind
colors: {
  custom: {
    50: '#d971b9',
    500: '#c21d9c',
    950: '#000000',
  },
}
SCSS
$custom: #c21d9c;
$custom-light: #d971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c21d9c",
  "rgb": {
    "r": 194,
    "g": 29,
    "b": 156
  },
  "hsl": {
    "h": 313.818,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55867,
    "c": 0.22669,
    "h": 340.2
  },
  "luminance": 0.14748
}

Semantic roles & 50–950 ramp

primary
#C21D9C
secondary
#6BD082
accent
#F16237
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C21D9C

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

Preview Lab → · Contrast checker → · Palette generator →

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