#C21CA2#C21CA2

#C21CA2 is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 56.1% C 0.231 H 338.1°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#C21CA2
RGBrgb(194, 28, 162)
HSLhsl(312, 75%, 44%)
HSVhsv(312, 86%, 76%)
CMYKcmyk(0%, 85.6%, 16.5%, 23.9%)
CIE-LABlab(45.51, 72.18, -31.62)
CIE-LCHlch(45.51, 78.80, 336.35°)
OKLaboklab(56.12% 0.2144 -0.086)
OKLCHoklch(56.12% 0.231 338.1)
XYZxyz(29.1857, 14.9115, 35.5166)
Luminance0.1491 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21CA2 #1CC23C
analogous
#8F1CC2 #C21CA2 #C21C4F
triadic
#C21CA2 #A2C21C #1CA2C2
tetradic
#C21CA2 #C28F1C #1CC23C #1C4FC2
square
#C21CA2 #C28F1C #1CC23C #1C4FC2
split-complementary
#C21CA2 #4FC21C #1CC28F
monochromatic
#570D49 #8D1475 #C21CA2 #E239C2 #EA6ED2

Accessibility & contrast

On white

5.27
#C21CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.98
#C21CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21CA2
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21CA2#FFFFFF#000000##FFFFFF
##C21CA21.005.273.985.27
#FFFFFF5.271.0021.001.00
#0000003.9821.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#275CA5
Deuteranopia (green-blind)
#63749E
Tritanopia (blue-blind)
#CD2961
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c21ca2;
/* rgb */ color: rgb(194, 28, 162);
/* oklch */ color: oklch(56.1% 0.231 338.1);
Tailwind
colors: {
  custom: {
    50: '#d971be',
    500: '#c21ca2',
    950: '#000000',
  },
}
SCSS
$custom: #c21ca2;
$custom-light: #d971be;
$custom-dark: #000000;
JSON
{
  "hex": "#c21ca2",
  "rgb": {
    "r": 194,
    "g": 28,
    "b": 162
  },
  "hsl": {
    "h": 311.566,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56118,
    "c": 0.23101,
    "h": 338.1
  },
  "luminance": 0.14908
}

Semantic roles & 50–950 ramp

primary
#C21CA2
secondary
#6AD07D
accent
#F15A36
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C21CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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