#C42EA0#C42EA0

#C42EA0 is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.4% C 0.216 H 339.8°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#C42EA0
RGBrgb(196, 46, 160)
HSLhsl(314, 62%, 47%)
HSVhsv(314, 77%, 77%)
CMYKcmyk(0%, 76.5%, 18.4%, 23.1%)
CIE-LABlab(47.28, 68.02, -27.64)
CIE-LCHlch(47.28, 73.43, 337.88°)
OKLaboklab(57.42% 0.2029 -0.0747)
OKLCHoklch(57.42% 0.216 339.8)
XYZxyz(30.0880, 16.2308, 34.7992)
Luminance0.1623 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42EA0 #2EC452
analogous
#9D2EC4 #C42EA0 #C42E55
triadic
#C42EA0 #A0C42E #2EA0C4
tetradic
#C42EA0 #C49D2E #2EC452 #2E55C4
square
#C42EA0 #C49D2E #2EC452 #2E55C4
split-complementary
#C42EA0 #55C42E #2EC49D
monochromatic
#61174F #922278 #C42EA0 #D858B9 #E389CE

Accessibility & contrast

On white

4.95
#C42EA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42EA0
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42EA0#FFFFFF#000000##FFFFFF
##C42EA01.004.954.254.95
#FFFFFF4.951.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3961A3
Deuteranopia (green-blind)
#6B799D
Tritanopia (blue-blind)
#D03464
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c42ea0;
/* rgb */ color: rgb(196, 46, 160);
/* oklch */ color: oklch(57.4% 0.216 339.8);
Tailwind
colors: {
  custom: {
    50: '#da77bc',
    500: '#c42ea0',
    950: '#000000',
  },
}
SCSS
$custom: #c42ea0;
$custom-light: #da77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c42ea0",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 160
  },
  "hsl": {
    "h": 314.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5742,
    "c": 0.21623,
    "h": 339.8
  },
  "luminance": 0.16228
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42EA0

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

Preview Lab → · Contrast checker → · Palette generator →

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