#C21D9B#C21D9B

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

Color values

HEX#C21D9B
RGBrgb(194, 29, 155)
HSLhsl(314, 74%, 44%)
HSVhsv(314, 85%, 76%)
CMYKcmyk(0%, 85.1%, 20.1%, 23.9%)
CIE-LABlab(45.25, 71.08, -27.84)
CIE-LCHlch(45.25, 76.34, 338.61°)
OKLaboklab(55.82% 0.2132 -0.0752)
OKLCHoklch(55.82% 0.226 340.6)
XYZxyz(28.6049, 14.7177, 32.3384)
Luminance0.1472 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21D9B #1DC244
analogous
#961DC2 #C21D9B #C21D48
triadic
#C21D9B #9BC21D #1D9BC2
tetradic
#C21D9B #C2961D #1DC244 #1D48C2
square
#C21D9B #C2961D #1DC244 #1D48C2
split-complementary
#C21D9B #48C21D #1DC296
monochromatic
#580D46 #8D1570 #C21D9B #E23BBA #EA70CD

Accessibility & contrast

On white

5.33
#C21D9B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C21D9B
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21D9B#FFFFFF#000000##FFFFFF
##C21D9B1.005.333.945.33
#FFFFFF5.331.0021.001.00
#0000003.9421.001.0021.00
##FFFFFF5.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c21d9b;
/* rgb */ color: rgb(194, 29, 155);
/* oklch */ color: oklch(55.8% 0.226 340.6);
Tailwind
colors: {
  custom: {
    50: '#d971b9',
    500: '#c21d9b',
    950: '#000000',
  },
}
SCSS
$custom: #c21d9b;
$custom-light: #d971b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c21d9b",
  "rgb": {
    "r": 194,
    "g": 29,
    "b": 155
  },
  "hsl": {
    "h": 314.182,
    "s": 73.991,
    "l": 43.725
  },
  "oklch": {
    "l": 0.55818,
    "c": 0.22609,
    "h": 340.6
  },
  "luminance": 0.14715
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C21D9B

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

Preview Lab → · Contrast checker → · Palette generator →

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