#C42A51#C42A51

#C42A51 is a mid, vivid pink. Relative luminance 0.140; OKLCH L 54.3% C 0.189 H 12.3°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#C42A51
RGBrgb(196, 42, 81)
HSLhsl(345, 65%, 47%)
HSVhsv(345, 79%, 77%)
CMYKcmyk(0%, 78.6%, 58.7%, 23.1%)
CIE-LABlab(44.22, 61.14, 16.18)
CIE-LCHlch(44.22, 63.25, 14.82°)
OKLaboklab(54.32% 0.1846 0.0401)
OKLCHoklch(54.32% 0.189 12.3)
XYZxyz(25.0807, 13.9895, 9.1626)
Luminance0.1399 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42A51 #2AC49D
analogous
#C42A9E #C42A51 #C4502A
triadic
#C42A51 #51C42A #2A51C4
tetradic
#C42A51 #9EC42A #2AC49D #502AC4
square
#C42A51 #9EC42A #2AC49D #502AC4
split-complementary
#C42A51 #2AC450 #2A9EC4
monochromatic
#5F1427 #921F3C #C42A51 #DA5174 #E5849C

Accessibility & contrast

On white

5.53
#C42A51 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#C42A51 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42A51
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42A51#FFFFFF#000000##FFFFFF
##C42A511.005.533.805.53
#FFFFFF5.531.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555451
Deuteranopia (green-blind)
#7D744D
Tritanopia (blue-blind)
#D7003B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c42a51;
/* rgb */ color: rgb(196, 42, 81);
/* oklch */ color: oklch(54.3% 0.189 12.3);
Tailwind
colors: {
  custom: {
    50: '#dd7381',
    500: '#c42a51',
    950: '#000000',
  },
}
SCSS
$custom: #c42a51;
$custom-light: #dd7381;
$custom-dark: #000000;
JSON
{
  "hex": "#c42a51",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 81
  },
  "hsl": {
    "h": 344.805,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54323,
    "c": 0.18891,
    "h": 12.3
  },
  "luminance": 0.13986
}

Semantic roles & 50–950 ramp

primary
#C42A51
secondary
#7CCEB9
accent
#E8BD40
background
#FEF7F7
surface
#FDEDEE
border
#D5C8C9
text
#16090A
muted
#847B7C

Preview Lab

Preview with #C42A51

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

Preview Lab → · Contrast checker → · Palette generator →

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