#C42A52#C42A52

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

Color values

HEX#C42A52
RGBrgb(196, 42, 82)
HSLhsl(344, 65%, 47%)
HSVhsv(344, 79%, 77%)
CMYKcmyk(0%, 78.6%, 58.2%, 23.1%)
CIE-LABlab(44.24, 61.21, 15.59)
CIE-LCHlch(44.24, 63.16, 14.29°)
OKLaboklab(54.35% 0.185 0.0388)
OKLCHoklch(54.35% 0.189 11.8)
XYZxyz(25.1184, 14.0046, 9.3615)
Luminance0.1400 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42A52 #2AC49C
analogous
#C42A9F #C42A52 #C44F2A
triadic
#C42A52 #52C42A #2A52C4
tetradic
#C42A52 #9FC42A #2AC49C #4F2AC4
square
#C42A52 #9FC42A #2AC49C #4F2AC4
split-complementary
#C42A52 #2AC44F #2A9FC4
monochromatic
#5F1428 #921F3D #C42A52 #DA5175 #E5849D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42A52#FFFFFF#000000##FFFFFF
##C42A521.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)
#555553
Deuteranopia (green-blind)
#7D744E
Tritanopia (blue-blind)
#D7003B
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #c42a52;
/* rgb */ color: rgb(196, 42, 82);
/* oklch */ color: oklch(54.3% 0.189 11.8);
Tailwind
colors: {
  custom: {
    50: '#dd7382',
    500: '#c42a52',
    950: '#000000',
  },
}
SCSS
$custom: #c42a52;
$custom-light: #dd7382;
$custom-dark: #000000;
JSON
{
  "hex": "#c42a52",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 82
  },
  "hsl": {
    "h": 344.416,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54346,
    "c": 0.189,
    "h": 11.8
  },
  "luminance": 0.14001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42A52

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

Preview Lab → · Contrast checker → · Palette generator →

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