#C42E54#C42E54

#C42E54 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.7% C 0.186 H 11.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#C42E54
RGBrgb(196, 46, 84)
HSLhsl(345, 62%, 47%)
HSVhsv(345, 77%, 77%)
CMYKcmyk(0%, 76.5%, 57.1%, 23.1%)
CIE-LABlab(44.71, 60.15, 14.98)
CIE-LCHlch(44.71, 61.99, 13.99°)
OKLaboklab(54.71% 0.1819 0.0374)
OKLCHoklch(54.71% 0.186 11.6)
XYZxyz(25.3447, 14.3335, 9.8179)
Luminance0.1433 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42E54 #2EC49E
analogous
#C42E9F #C42E54 #C4532E
triadic
#C42E54 #54C42E #2E54C4
tetradic
#C42E54 #9FC42E #2EC49E #532EC4
square
#C42E54 #9FC42E #2EC49E #532EC4
split-complementary
#C42E54 #2EC453 #2E9FC4
monochromatic
#61172A #92223F #C42E54 #D85878 #E389A0

Accessibility & contrast

On white

5.43
#C42E54 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42E54
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42E54#FFFFFF#000000##FFFFFF
##C42E541.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#575655
Deuteranopia (green-blind)
#7D7550
Tritanopia (blue-blind)
#D6003E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42e54;
/* rgb */ color: rgb(196, 46, 84);
/* oklch */ color: oklch(54.7% 0.186 11.6);
Tailwind
colors: {
  custom: {
    50: '#dd7483',
    500: '#c42e54',
    950: '#000000',
  },
}
SCSS
$custom: #c42e54;
$custom-light: #dd7483;
$custom-dark: #000000;
JSON
{
  "hex": "#c42e54",
  "rgb": {
    "r": 196,
    "g": 46,
    "b": 84
  },
  "hsl": {
    "h": 344.8,
    "s": 61.983,
    "l": 47.451
  },
  "oklch": {
    "l": 0.54706,
    "c": 0.18571,
    "h": 11.6
  },
  "luminance": 0.1433
}

Semantic roles & 50–950 ramp

primary
#C42E54
secondary
#81CDBA
accent
#E5BC43
background
#FEF7F8
surface
#FDEDEF
border
#D5C8CA
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C42E54

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

Preview Lab → · Contrast checker → · Palette generator →

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