#C42B7D#C42B7D

#C42B7D is a mid, highly saturated pink. Relative luminance 0.149; OKLCH L 55.7% C 0.200 H 353.3°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C42B7D
RGBrgb(196, 43, 125)
HSLhsl(328, 64%, 47%)
HSVhsv(328, 78%, 77%)
CMYKcmyk(0%, 78.1%, 36.2%, 23.1%)
CIE-LABlab(45.56, 64.67, -9.12)
CIE-LCHlch(45.56, 65.31, 351.97°)
OKLaboklab(55.72% 0.1986 -0.0233)
OKLCHoklch(55.72% 0.2 353.3)
XYZxyz(27.3323, 14.9476, 20.8439)
Luminance0.1494 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B7D #2BC472
analogous
#BF2BC4 #C42B7D #C42B31
triadic
#C42B7D #7DC42B #2B7DC4
tetradic
#C42B7D #C4BF2B #2BC472 #2B31C4
square
#C42B7D #C4BF2B #2BC472 #2B31C4
split-complementary
#C42B7D #31C42B #2BC4BF
monochromatic
#60153D #92205D #C42B7D #D9539B #E485B8

Accessibility & contrast

On white

5.26
#C42B7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C42B7D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B7D
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B7D#FFFFFF#000000##FFFFFF
##C42B7D1.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7F
Deuteranopia (green-blind)
#75767A
Tritanopia (blue-blind)
#D31951
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c42b7d;
/* rgb */ color: rgb(196, 43, 125);
/* oklch */ color: oklch(55.7% 0.200 353.3);
Tailwind
colors: {
  custom: {
    50: '#db74a2',
    500: '#c42b7d',
    950: '#000000',
  },
}
SCSS
$custom: #c42b7d;
$custom-light: #db74a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b7d",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 125
  },
  "hsl": {
    "h": 327.843,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55716,
    "c": 0.20001,
    "h": 353.3
  },
  "luminance": 0.14944
}

Semantic roles & 50–950 ramp

primary
#C42B7D
secondary
#7DCEA3
accent
#E78E41
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090F
muted
#847B7E

Preview Lab

Preview with #C42B7D

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

Preview Lab → · Contrast checker → · Palette generator →

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