#C42B96#C42B96

#C42B96 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.7% C 0.213 H 343.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C42B96
RGBrgb(196, 43, 150)
HSLhsl(318, 64%, 47%)
HSVhsv(318, 78%, 77%)
CMYKcmyk(0%, 78.1%, 23.5%, 23.1%)
CIE-LABlab(46.54, 67.57, -22.81)
CIE-LCHlch(46.54, 71.32, 341.35°)
OKLaboklab(56.74% 0.2041 -0.0611)
OKLCHoklch(56.74% 0.213 343.3)
XYZxyz(29.1350, 15.6687, 30.3383)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B96 #2BC459
analogous
#A62BC4 #C42B96 #C42B4A
triadic
#C42B96 #96C42B #2B96C4
tetradic
#C42B96 #C4A62B #2BC459 #2B4AC4
square
#C42B96 #C4A62B #2BC459 #2B4AC4
split-complementary
#C42B96 #4AC42B #2BC4A6
monochromatic
#601549 #922070 #C42B96 #D953B1 #E485C8

Accessibility & contrast

On white

5.08
#C42B96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C42B96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B96
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B96#FFFFFF#000000##FFFFFF
##C42B961.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D5E99
Deuteranopia (green-blind)
#6D7793
Tritanopia (blue-blind)
#D12B5E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c42b96;
/* rgb */ color: rgb(196, 43, 150);
/* oklch */ color: oklch(56.7% 0.213 343.3);
Tailwind
colors: {
  custom: {
    50: '#da75b5',
    500: '#c42b96',
    950: '#000000',
  },
}
SCSS
$custom: #c42b96;
$custom-light: #da75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b96",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 150
  },
  "hsl": {
    "h": 318.039,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56742,
    "c": 0.21301,
    "h": 343.3
  },
  "luminance": 0.15666
}

Semantic roles & 50–950 ramp

primary
#C42B96
secondary
#7DCE95
accent
#E77341
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#160A11
muted
#847C80

Preview Lab

Preview with #C42B96

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

Preview Lab → · Contrast checker → · Palette generator →

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