#C42774#C42774

#C42774 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.1% C 0.200 H 356.8°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C42774
RGBrgb(196, 39, 116)
HSLhsl(331, 67%, 46%)
HSVhsv(331, 80%, 77%)
CMYKcmyk(0%, 80.1%, 40.8%, 23.1%)
CIE-LABlab(44.87, 64.85, -4.62)
CIE-LCHlch(44.87, 65.02, 355.92°)
OKLaboklab(55.11% 0.1996 -0.0113)
OKLCHoklch(55.11% 0.2 356.8)
XYZxyz(26.6448, 14.4512, 17.9059)
Luminance0.1445 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42774 #27C477
analogous
#C427C2 #C42774 #C42827
triadic
#C42774 #74C427 #2774C4
tetradic
#C42774 #C2C427 #27C477 #2827C4
square
#C42774 #C2C427 #27C477 #2827C4
split-complementary
#C42774 #27C428 #27C2C4
monochromatic
#5E1338 #911D56 #C42774 #DC4D93 #E680B2

Accessibility & contrast

On white

5.40
#C42774 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C42774 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42774
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42774#FFFFFF#000000##FFFFFF
##C427741.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#767570
Tritanopia (blue-blind)
#D4054B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42774;
/* rgb */ color: rgb(196, 39, 116);
/* oklch */ color: oklch(55.1% 0.200 356.8);
Tailwind
colors: {
  custom: {
    50: '#db739b',
    500: '#c42774',
    950: '#000000',
  },
}
SCSS
$custom: #c42774;
$custom-light: #db739b;
$custom-dark: #000000;
JSON
{
  "hex": "#c42774",
  "rgb": {
    "r": 196,
    "g": 39,
    "b": 116
  },
  "hsl": {
    "h": 330.573,
    "s": 66.809,
    "l": 46.078
  },
  "oklch": {
    "l": 0.55113,
    "c": 0.1999,
    "h": 356.8
  },
  "luminance": 0.14448
}

Semantic roles & 50–950 ramp

primary
#C42774
secondary
#79CEA4
accent
#EA963E
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42774

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

Preview Lab → · Contrast checker → · Palette generator →

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