#C42E9E#C42E9E

#C42E9E is a mid, highly saturated pink. Relative luminance 0.162; OKLCH L 57.3% C 0.215 H 340.5°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C42E9E
RGBrgb(196, 46, 158)
HSLhsl(315, 62%, 47%)
HSVhsv(315, 77%, 77%)
CMYKcmyk(0%, 76.5%, 19.4%, 23.1%)
CIE-LABlab(47.19, 67.76, -26.59)
CIE-LCHlch(47.19, 72.79, 338.57°)
OKLaboklab(57.33% 0.2026 -0.0718)
OKLCHoklch(57.33% 0.215 340.5)
XYZxyz(29.9144, 16.1614, 33.8852)
Luminance0.1616 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42E9E #2EC454
analogous
#9F2EC4 #C42E9E #C42E53
triadic
#C42E9E #9EC42E #2E9EC4
tetradic
#C42E9E #C49F2E #2EC454 #2E53C4
square
#C42E9E #C49F2E #2EC454 #2E53C4
split-complementary
#C42E9E #53C42E #2EC49F
monochromatic
#61174E #922276 #C42E9E #D858B7 #E389CC

Accessibility & contrast

On white

4.96
#C42E9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C42E9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42E9E
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42E9E#FFFFFF#000000##FFFFFF
##C42E9E1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A61A1
Deuteranopia (green-blind)
#6B789B
Tritanopia (blue-blind)
#D03363
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c42e9e;
/* rgb */ color: rgb(196, 46, 158);
/* oklch */ color: oklch(57.3% 0.215 340.5);
Tailwind
colors: {
  custom: {
    50: '#da77bb',
    500: '#c42e9e',
    950: '#000000',
  },
}
SCSS
$custom: #c42e9e;
$custom-light: #da77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c42e9e",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 158
  },
  "hsl": {
    "h": 315.2,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57325,
    "c": 0.21497,
    "h": 340.5
  },
  "luminance": 0.16158
}

Semantic roles & 50–950 ramp

primary
#C42E9E
secondary
#81CD94
accent
#E56C43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42E9E

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

Preview Lab → · Contrast checker → · Palette generator →

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