#C21CA1#C21CA1

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

Color values

HEX#C21CA1
RGBrgb(194, 28, 161)
HSLhsl(312, 75%, 44%)
HSVhsv(312, 86%, 76%)
CMYKcmyk(0%, 85.6%, 17%, 23.9%)
CIE-LABlab(45.46, 72.05, -31.10)
CIE-LCHlch(45.46, 78.48, 336.66°)
OKLaboklab(56.07% 0.2143 -0.0845)
OKLCHoklch(56.07% 0.23 338.5)
XYZxyz(29.0972, 14.8760, 35.0503)
Luminance0.1487 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C21CA1 #1CC23D
analogous
#901CC2 #C21CA1 #C21C4E
triadic
#C21CA1 #A1C21C #1CA1C2
tetradic
#C21CA1 #C2901C #1CC23D #1C4EC2
square
#C21CA1 #C2901C #1CC23D #1C4EC2
split-complementary
#C21CA1 #4EC21C #1CC290
monochromatic
#570D48 #8D1475 #C21CA1 #E239C1 #EA6ED1

Accessibility & contrast

On white

5.28
#C21CA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C21CA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C21CA1
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C21CA1#FFFFFF#000000##FFFFFF
##C21CA11.005.283.975.28
#FFFFFF5.281.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#285CA4
Deuteranopia (green-blind)
#64749D
Tritanopia (blue-blind)
#CD2861
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c21ca1;
/* rgb */ color: rgb(194, 28, 161);
/* oklch */ color: oklch(56.1% 0.230 338.5);
Tailwind
colors: {
  custom: {
    50: '#d971bd',
    500: '#c21ca1',
    950: '#000000',
  },
}
SCSS
$custom: #c21ca1;
$custom-light: #d971bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c21ca1",
  "rgb": {
    "r": 194,
    "g": 28,
    "b": 161
  },
  "hsl": {
    "h": 311.928,
    "s": 74.775,
    "l": 43.529
  },
  "oklch": {
    "l": 0.56068,
    "c": 0.23039,
    "h": 338.5
  },
  "luminance": 0.14873
}

Semantic roles & 50–950 ramp

primary
#C21CA1
secondary
#6AD07E
accent
#F15C36
background
#FDF7FB
surface
#FBEDF6
border
#D4C8D0
text
#150912
muted
#837B81

Preview Lab

Preview with #C21CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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