#C42EA1#C42EA1

#C42EA1 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.217 H 339.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C42EA1
RGBrgb(196, 46, 161)
HSLhsl(314, 62%, 47%)
HSVhsv(314, 77%, 77%)
CMYKcmyk(0%, 76.5%, 17.9%, 23.1%)
CIE-LABlab(47.32, 68.16, -28.17)
CIE-LCHlch(47.32, 73.75, 337.55°)
OKLaboklab(57.47% 0.203 -0.0762)
OKLCHoklch(57.47% 0.217 339.4)
XYZxyz(30.1758, 16.2660, 35.2617)
Luminance0.1626 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42EA1 #2EC451
analogous
#9C2EC4 #C42EA1 #C42E56
triadic
#C42EA1 #A1C42E #2EA1C4
tetradic
#C42EA1 #C49C2E #2EC451 #2E56C4
square
#C42EA1 #C49C2E #2EC451 #2E56C4
split-complementary
#C42EA1 #56C42E #2EC49C
monochromatic
#611750 #922278 #C42EA1 #D858BA #E389CE

Accessibility & contrast

On white

4.94
#C42EA1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C42EA1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42EA1
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42EA1#FFFFFF#000000##FFFFFF
##C42EA11.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3861A4
Deuteranopia (green-blind)
#6A799E
Tritanopia (blue-blind)
#CF3465
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c42ea1;
/* rgb */ color: rgb(196, 46, 161);
/* oklch */ color: oklch(57.5% 0.217 339.4);
Tailwind
colors: {
  custom: {
    50: '#da77bd',
    500: '#c42ea1',
    950: '#000000',
  },
}
SCSS
$custom: #c42ea1;
$custom-light: #da77bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c42ea1",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 161
  },
  "hsl": {
    "h": 314,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57468,
    "c": 0.21686,
    "h": 339.4
  },
  "luminance": 0.16263
}

Semantic roles & 50–950 ramp

primary
#C42EA1
secondary
#81CD93
accent
#E56943
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42EA1

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

Preview Lab → · Contrast checker → · Palette generator →

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