#C21FA0#C21FA0

#C21FA0 is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 56.2% C 0.228 H 338.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C21FA0
RGBrgb(194, 31, 160)
HSLhsl(313, 72%, 44%)
HSVhsv(313, 84%, 76%)
CMYKcmyk(0%, 84%, 17.5%, 23.9%)
CIE-LABlab(45.62, 71.32, -30.25)
CIE-LCHlch(45.62, 77.48, 337.01°)
OKLaboklab(56.16% 0.2125 -0.0821)
OKLCHoklch(56.16% 0.228 338.9)
XYZxyz(29.0841, 14.9904, 34.6126)
Luminance0.1499 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21FA0 #1FC241
analogous
#931FC2 #C21FA0 #C21F4F
triadic
#C21FA0 #A0C21F #1FA0C2
tetradic
#C21FA0 #C2931F #1FC241 #1F4FC2
square
#C21FA0 #C2931F #1FC241 #1F4FC2
split-complementary
#C21FA0 #4FC21F #1FC293
monochromatic
#580E49 #8D1774 #C21FA0 #E03EBE #E973D0

Accessibility & contrast

On white

5.25
#C21FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C21FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21FA0
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21FA0#FFFFFF#000000##FFFFFF
##C21FA01.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5CA3
Deuteranopia (green-blind)
#65759D
Tritanopia (blue-blind)
#CD2961
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c21fa0;
/* rgb */ color: rgb(194, 31, 160);
/* oklch */ color: oklch(56.2% 0.228 338.9);
Tailwind
colors: {
  custom: {
    50: '#d972bc',
    500: '#c21fa0',
    950: '#000000',
  },
}
SCSS
$custom: #c21fa0;
$custom-light: #d972bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c21fa0",
  "rgb": {
    "r": 194,
    "g": 31,
    "b": 160
  },
  "hsl": {
    "h": 312.515,
    "s": 72.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.56164,
    "c": 0.22777,
    "h": 338.9
  },
  "luminance": 0.14987
}

Semantic roles & 50–950 ramp

primary
#C21FA0
secondary
#6DCF82
accent
#EF5F39
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C21FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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