#C42781#C42781

#C42781 is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.205 H 351.3°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C42781
RGBrgb(196, 39, 129)
HSLhsl(326, 67%, 46%)
HSVhsv(326, 80%, 77%)
CMYKcmyk(0%, 80.1%, 34.2%, 23.1%)
CIE-LABlab(45.32, 66.19, -11.93)
CIE-LCHlch(45.32, 67.25, 349.78°)
OKLaboklab(55.59% 0.2031 -0.0309)
OKLCHoklch(55.59% 0.205 351.3)
XYZxyz(27.4546, 14.7752, 22.1707)
Luminance0.1477 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42781 #27C46A
analogous
#B827C4 #C42781 #C42732
triadic
#C42781 #81C427 #2781C4
tetradic
#C42781 #C4B827 #27C46A #2732C4
square
#C42781 #C4B827 #27C46A #2732C4
split-complementary
#C42781 #32C427 #27C4B8
monochromatic
#5E133E #911D5F #C42781 #DC4D9F #E680BA

Accessibility & contrast

On white

5.31
#C42781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C42781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42781
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42781#FFFFFF#000000##FFFFFF
##C427811.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465983
Deuteranopia (green-blind)
#73757E
Tritanopia (blue-blind)
#D31652
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42781;
/* rgb */ color: rgb(196, 39, 129);
/* oklch */ color: oklch(55.6% 0.205 351.3);
Tailwind
colors: {
  custom: {
    50: '#db73a5',
    500: '#c42781',
    950: '#000000',
  },
}
SCSS
$custom: #c42781;
$custom-light: #db73a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c42781",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 129
  },
  "hsl": {
    "h": 325.605,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.5559,
    "c": 0.20547,
    "h": 351.3
  },
  "luminance": 0.14772
}

Semantic roles & 50–950 ramp

primary
#C42781
secondary
#79CE9D
accent
#EA873E
background
#FEF7FA
surface
#FCEDF4
border
#D5C8CE
text
#16090F
muted
#847B7F

Preview Lab

Preview with #C42781

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

Preview Lab → · Contrast checker → · Palette generator →

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