#C21EA3#C21EA3

#C21EA3 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 56.3% C 0.230 H 337.8°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C21EA3
RGBrgb(194, 30, 163)
HSLhsl(311, 73%, 44%)
HSVhsv(311, 85%, 76%)
CMYKcmyk(0%, 84.5%, 16%, 23.9%)
CIE-LABlab(45.70, 71.92, -31.93)
CIE-LCHlch(45.70, 78.69, 336.06°)
OKLaboklab(56.27% 0.2133 -0.0869)
OKLCHoklch(56.27% 0.23 337.8)
XYZxyz(29.3240, 15.0452, 36.0029)
Luminance0.1504 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21EA3 #1EC23D
analogous
#8F1EC2 #C21EA3 #C21E51
triadic
#C21EA3 #A3C21E #1EA3C2
tetradic
#C21EA3 #C28F1E #1EC23D #1E51C2
square
#C21EA3 #C28F1E #1EC23D #1E51C2
split-complementary
#C21EA3 #51C21E #1EC28F
monochromatic
#580E4A #8D1676 #C21EA3 #E13CC2 #E971D2

Accessibility & contrast

On white

5.24
#C21EA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C21EA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21EA3
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21EA3#FFFFFF#000000##FFFFFF
##C21EA31.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285DA6
Deuteranopia (green-blind)
#63759F
Tritanopia (blue-blind)
#CD2B62
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c21ea3;
/* rgb */ color: rgb(194, 30, 163);
/* oklch */ color: oklch(56.3% 0.230 337.8);
Tailwind
colors: {
  custom: {
    50: '#d971be',
    500: '#c21ea3',
    950: '#000000',
  },
}
SCSS
$custom: #c21ea3;
$custom-light: #d971be;
$custom-dark: #000000;
JSON
{
  "hex": "#c21ea3",
  "rgb": {
    "r": 194,
    "g": 30,
    "b": 163
  },
  "hsl": {
    "h": 311.341,
    "s": 73.214,
    "l": 43.922
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.23032,
    "h": 337.8
  },
  "luminance": 0.15042
}

Semantic roles & 50–950 ramp

primary
#C21EA3
secondary
#6CD07F
accent
#F05B38
background
#FDF7FB
surface
#FBEDF7
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C21EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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