#C42B6D#C42B6D

#C42B6D is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.194 H 0.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C42B6D
RGBrgb(196, 43, 109)
HSLhsl(334, 64%, 47%)
HSVhsv(334, 78%, 77%)
CMYKcmyk(0%, 78.1%, 44.4%, 23.1%)
CIE-LABlab(45.04, 63.09, -0.05)
CIE-LCHlch(45.04, 63.09, 359.96°)
OKLaboklab(55.16% 0.1938 0.0006)
OKLCHoklch(55.16% 0.194 0.2)
XYZxyz(26.3912, 14.5712, 15.8878)
Luminance0.1457 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B6D #2BC482
analogous
#C42BBA #C42B6D #C4362B
triadic
#C42B6D #6DC42B #2B6DC4
tetradic
#C42B6D #BAC42B #2BC482 #362BC4
square
#C42B6D #BAC42B #2BC482 #362BC4
split-complementary
#C42B6D #2BC436 #2BBAC4
monochromatic
#601535 #922051 #C42B6D #D9538D #E485AE

Accessibility & contrast

On white

5.37
#C42B6D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C42B6D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B6D
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B6D#FFFFFF#000000##FFFFFF
##C42B6D1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F586F
Deuteranopia (green-blind)
#787569
Tritanopia (blue-blind)
#D50649
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42b6d;
/* rgb */ color: rgb(196, 43, 109);
/* oklch */ color: oklch(55.2% 0.194 0.2);
Tailwind
colors: {
  custom: {
    50: '#dc7496',
    500: '#c42b6d',
    950: '#000000',
  },
}
SCSS
$custom: #c42b6d;
$custom-light: #dc7496;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b6d",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 109
  },
  "hsl": {
    "h": 334.118,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55164,
    "c": 0.19384,
    "h": 0.2
  },
  "luminance": 0.14568
}

Semantic roles & 50–950 ramp

primary
#C42B6D
secondary
#7DCEAB
accent
#E79F41
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42B6D

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

Preview Lab → · Contrast checker → · Palette generator →

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