#C42E56#C42E56

#C42E56 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.8% C 0.186 H 10.8°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C42E56
RGBrgb(196, 46, 86)
HSLhsl(344, 62%, 47%)
HSVhsv(344, 77%, 77%)
CMYKcmyk(0%, 76.5%, 56.1%, 23.1%)
CIE-LABlab(44.75, 60.30, 13.80)
CIE-LCHlch(44.75, 61.86, 12.90°)
OKLaboklab(54.75% 0.1827 0.0347)
OKLCHoklch(54.75% 0.186 10.8)
XYZxyz(25.4241, 14.3653, 10.2363)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42E56 #2EC49C
analogous
#C42EA1 #C42E56 #C4512E
triadic
#C42E56 #56C42E #2E56C4
tetradic
#C42E56 #A1C42E #2EC49C #512EC4
square
#C42E56 #A1C42E #2EC49C #512EC4
split-complementary
#C42E56 #2EC451 #2EA1C4
monochromatic
#61172B #922240 #C42E56 #D8587A #E389A1

Accessibility & contrast

On white

5.42
#C42E56 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C42E56 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42E56
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42E56#FFFFFF#000000##FFFFFF
##C42E561.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565657
Deuteranopia (green-blind)
#7D7552
Tritanopia (blue-blind)
#D6003F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42e56;
/* rgb */ color: rgb(196, 46, 86);
/* oklch */ color: oklch(54.8% 0.186 10.8);
Tailwind
colors: {
  custom: {
    50: '#dd7485',
    500: '#c42e56',
    950: '#000000',
  },
}
SCSS
$custom: #c42e56;
$custom-light: #dd7485;
$custom-dark: #000000;
JSON
{
  "hex": "#c42e56",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 86
  },
  "hsl": {
    "h": 344,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54754,
    "c": 0.18593,
    "h": 10.8
  },
  "luminance": 0.14362
}

Semantic roles & 50–950 ramp

primary
#C42E56
secondary
#81CDB9
accent
#E5BA43
background
#FEF7F8
surface
#FDEEEF
border
#D5C9CA
text
#16090B
muted
#847B7C

Preview Lab

Preview with #C42E56

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

Preview Lab → · Contrast checker → · Palette generator →

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