#C42E9A#C42E9A

#C42E9A is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.1% C 0.213 H 342.0°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C42E9A
RGBrgb(196, 46, 154)
HSLhsl(317, 62%, 47%)
HSVhsv(317, 77%, 77%)
CMYKcmyk(0%, 76.5%, 21.4%, 23.1%)
CIE-LABlab(47.01, 67.23, -24.48)
CIE-LCHlch(47.01, 71.55, 340.00°)
OKLaboklab(57.14% 0.2021 -0.0658)
OKLCHoklch(57.14% 0.213 342)
XYZxyz(29.5757, 16.0259, 32.1013)
Luminance0.1602 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42E9A #2EC458
analogous
#A32EC4 #C42E9A #C42E4F
triadic
#C42E9A #9AC42E #2E9AC4
tetradic
#C42E9A #C4A32E #2EC458 #2E4FC4
square
#C42E9A #C4A32E #2EC458 #2E4FC4
split-complementary
#C42E9A #4FC42E #2EC4A3
monochromatic
#61174C #922273 #C42E9A #D858B4 #E389CA

Accessibility & contrast

On white

4.99
#C42E9A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#C42E9A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42E9A
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42E9A#FFFFFF#000000##FFFFFF
##C42E9A1.004.994.204.99
#FFFFFF4.991.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D609D
Deuteranopia (green-blind)
#6D7897
Tritanopia (blue-blind)
#D03061
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c42e9a;
/* rgb */ color: rgb(196, 46, 154);
/* oklch */ color: oklch(57.1% 0.213 342.0);
Tailwind
colors: {
  custom: {
    50: '#da77b8',
    500: '#c42e9a',
    950: '#000000',
  },
}
SCSS
$custom: #c42e9a;
$custom-light: #da77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c42e9a",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 154
  },
  "hsl": {
    "h": 316.8,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.5714,
    "c": 0.21251,
    "h": 342
  },
  "luminance": 0.16023
}

Semantic roles & 50–950 ramp

primary
#C42E9A
secondary
#81CD96
accent
#E57043
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C42E9A

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

Preview Lab → · Contrast checker → · Palette generator →

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