#C42E9B#C42E9B

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

Color values

HEX#C42E9B
RGBrgb(196, 46, 155)
HSLhsl(316, 62%, 47%)
HSVhsv(316, 77%, 77%)
CMYKcmyk(0%, 76.5%, 20.9%, 23.1%)
CIE-LABlab(47.05, 67.36, -25.01)
CIE-LCHlch(47.05, 71.85, 339.63°)
OKLaboklab(57.19% 0.2022 -0.0673)
OKLCHoklch(57.19% 0.213 341.6)
XYZxyz(29.6593, 16.0594, 32.5418)
Luminance0.1606 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42E9B #2EC457
analogous
#A22EC4 #C42E9B #C42E50
triadic
#C42E9B #9BC42E #2E9BC4
tetradic
#C42E9B #C4A22E #2EC457 #2E50C4
square
#C42E9B #C4A22E #2EC457 #2E50C4
split-complementary
#C42E9B #50C42E #2EC4A2
monochromatic
#61174D #922274 #C42E9B #D858B5 #E389CB

Accessibility & contrast

On white

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

On black

4.21
#C42E9B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C42E9B#FFFFFF#000000##FFFFFF
##C42E9B1.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C609E
Deuteranopia (green-blind)
#6D7898
Tritanopia (blue-blind)
#D03162
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c42e9b;
/* rgb */ color: rgb(196, 46, 155);
/* oklch */ color: oklch(57.2% 0.213 341.6);
Tailwind
colors: {
  custom: {
    50: '#da77b8',
    500: '#c42e9b',
    950: '#000000',
  },
}
SCSS
$custom: #c42e9b;
$custom-light: #da77b8;
$custom-dark: #000000;
JSON
{
  "hex": "#c42e9b",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 155
  },
  "hsl": {
    "h": 316.4,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.57186,
    "c": 0.21312,
    "h": 341.6
  },
  "luminance": 0.16056
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42E9B

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

Preview Lab → · Contrast checker → · Palette generator →

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