#C42877#C42877

#C42877 is a mid, highly saturated pink. Relative luminance 0.146; OKLCH L 55.3% C 0.200 H 355.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C42877
RGBrgb(196, 40, 119)
HSLhsl(330, 66%, 46%)
HSVhsv(330, 80%, 77%)
CMYKcmyk(0%, 79.6%, 39.3%, 23.1%)
CIE-LABlab(45.07, 64.88, -6.18)
CIE-LCHlch(45.07, 65.18, 354.56°)
OKLaboklab(55.29% 0.1996 -0.0155)
OKLCHoklch(55.29% 0.2 355.6)
XYZxyz(26.8554, 14.5887, 18.8509)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42877 #28C475
analogous
#C328C4 #C42877 #C42829
triadic
#C42877 #77C428 #2877C4
tetradic
#C42877 #C4C328 #28C475 #2829C4
square
#C42877 #C4C328 #28C475 #2829C4
split-complementary
#C42877 #29C428 #28C4C3
monochromatic
#5E1339 #911E58 #C42877 #DB4E96 #E581B4

Accessibility & contrast

On white

5.36
#C42877 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#C42877 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42877
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42877#FFFFFF#000000##FFFFFF
##C428771.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5879
Deuteranopia (green-blind)
#757574
Tritanopia (blue-blind)
#D40C4D
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42877;
/* rgb */ color: rgb(196, 40, 119);
/* oklch */ color: oklch(55.3% 0.200 355.6);
Tailwind
colors: {
  custom: {
    50: '#db739e',
    500: '#c42877',
    950: '#000000',
  },
}
SCSS
$custom: #c42877;
$custom-light: #db739e;
$custom-dark: #000000;
JSON
{
  "hex": "#c42877",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 119
  },
  "hsl": {
    "h": 329.615,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55286,
    "c": 0.20021,
    "h": 355.6
  },
  "luminance": 0.14585
}

Semantic roles & 50–950 ramp

primary
#C42877
secondary
#7ACEA3
accent
#E9933F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42877

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

Preview Lab → · Contrast checker → · Palette generator →

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