#C420BB#C420BB

#C420BB is a mid, highly saturated purple. Relative luminance 0.164; OKLCH L 58.0% C 0.246 H 330.8°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C420BB
RGBrgb(196, 32, 187)
HSLhsl(303, 72%, 45%)
HSVhsv(303, 84%, 77%)
CMYKcmyk(0%, 83.7%, 4.6%, 23.1%)
CIE-LABlab(47.44, 75.28, -43.32)
CIE-LCHlch(47.44, 86.86, 330.08°)
OKLaboklab(57.98% 0.2145 -0.1197)
OKLCHoklch(57.98% 0.246 330.8)
XYZxyz(32.2511, 16.3594, 48.4632)
Luminance0.1636 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C420BB #20C429
analogous
#7B20C4 #C420BB #C42069
triadic
#C420BB #BBC420 #20BBC4
tetradic
#C420BB #C47B20 #20C429 #2069C4
square
#C420BB #C47B20 #20C429 #2069C4
split-complementary
#C420BB #69C420 #20C47B
monochromatic
#5B0F57 #8F1789 #C420BB #E041D7 #E976E2

Accessibility & contrast

On white

4.92
#C420BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C420BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C420BB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C420BB#FFFFFF#000000##FFFFFF
##C420BB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063BF
Deuteranopia (green-blind)
#5A78B7
Tritanopia (blue-blind)
#CC3B71
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c420bb;
/* rgb */ color: rgb(196, 32, 187);
/* oklch */ color: oklch(58.0% 0.246 330.8);
Tailwind
colors: {
  custom: {
    50: '#da73d0',
    500: '#c420bb',
    950: '#000000',
  },
}
SCSS
$custom: #c420bb;
$custom-light: #da73d0;
$custom-dark: #000000;
JSON
{
  "hex": "#c420bb",
  "rgb": {
    "r": 196,
    "g": 32,
    "b": 187
  },
  "hsl": {
    "h": 303.293,
    "s": 71.93,
    "l": 44.706
  },
  "oklch": {
    "l": 0.5798,
    "c": 0.2456,
    "h": 330.8
  },
  "luminance": 0.16357
}

Semantic roles & 50–950 ramp

primary
#C420BB
secondary
#70D075
accent
#EF4339
background
#FEF7FC
surface
#FCEEF9
border
#D5C9D2
text
#150914
muted
#847B82

Preview Lab

Preview with #C420BB

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

Preview Lab → · Contrast checker → · Palette generator →

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