#C42C71#C42C71

#C42C71 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.4% C 0.194 H 358.5°. Best body text is #FFFFFF at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#C42C71
RGBrgb(196, 44, 113)
HSLhsl(333, 63%, 47%)
HSVhsv(333, 78%, 77%)
CMYKcmyk(0%, 77.6%, 42.3%, 23.1%)
CIE-LABlab(45.27, 63.17, -2.19)
CIE-LCHlch(45.27, 63.21, 358.01°)
OKLaboklab(55.37% 0.1942 -0.005)
OKLCHoklch(55.37% 0.194 358.5)
XYZxyz(26.6483, 14.7329, 17.0600)
Luminance0.1473 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42C71 #2CC47F
analogous
#C42CBD #C42C71 #C4332C
triadic
#C42C71 #71C42C #2C71C4
tetradic
#C42C71 #BDC42C #2CC47F #332CC4
square
#C42C71 #BDC42C #2CC47F #332CC4
split-complementary
#C42C71 #2CC433 #2CBDC4
monochromatic
#601637 #922154 #C42C71 #D95491 #E486B1

Accessibility & contrast

On white

5.32
#C42C71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42C71
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42C71#FFFFFF#000000##FFFFFF
##C42C711.005.323.955.32
#FFFFFF5.321.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5973
Deuteranopia (green-blind)
#78756E
Tritanopia (blue-blind)
#D40E4B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42c71;
/* rgb */ color: rgb(196, 44, 113);
/* oklch */ color: oklch(55.4% 0.194 358.5);
Tailwind
colors: {
  custom: {
    50: '#db7499',
    500: '#c42c71',
    950: '#000000',
  },
}
SCSS
$custom: #c42c71;
$custom-light: #db7499;
$custom-dark: #000000;
JSON
{
  "hex": "#c42c71",
  "rgb": {
    "r": 196,
    "g": 44,
    "b": 113
  },
  "hsl": {
    "h": 332.763,
    "s": 63.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.55369,
    "c": 0.19426,
    "h": 358.5
  },
  "luminance": 0.14729
}

Semantic roles & 50–950 ramp

primary
#C42C71
secondary
#7ECDAA
accent
#E69B41
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42C71

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

Preview Lab → · Contrast checker → · Palette generator →

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