#C42B98#C42B98

#C42B98 is a mid, highly saturated pink. Relative luminance 0.157; OKLCH L 56.8% C 0.214 H 342.6°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C42B98
RGBrgb(196, 43, 152)
HSLhsl(317, 64%, 47%)
HSVhsv(317, 78%, 77%)
CMYKcmyk(0%, 78.1%, 22.4%, 23.1%)
CIE-LABlab(46.62, 67.83, -23.87)
CIE-LCHlch(46.62, 71.91, 340.61°)
OKLaboklab(56.83% 0.2044 -0.0641)
OKLCHoklch(56.83% 0.214 342.6)
XYZxyz(29.2974, 15.7336, 31.1937)
Luminance0.1573 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B98 #2BC457
analogous
#A42BC4 #C42B98 #C42B4B
triadic
#C42B98 #98C42B #2B98C4
tetradic
#C42B98 #C4A42B #2BC457 #2B4BC4
square
#C42B98 #C4A42B #2BC457 #2B4BC4
split-complementary
#C42B98 #4BC42B #2BC4A4
monochromatic
#60154A #922071 #C42B98 #D953B3 #E485C9

Accessibility & contrast

On white

5.06
#C42B98 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C42B98 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B98
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B98#FFFFFF#000000##FFFFFF
##C42B981.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C5F9B
Deuteranopia (green-blind)
#6D7795
Tritanopia (blue-blind)
#D12C5F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c42b98;
/* rgb */ color: rgb(196, 43, 152);
/* oklch */ color: oklch(56.8% 0.214 342.6);
Tailwind
colors: {
  custom: {
    50: '#da75b6',
    500: '#c42b98',
    950: '#000000',
  },
}
SCSS
$custom: #c42b98;
$custom-light: #da75b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b98",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 152
  },
  "hsl": {
    "h": 317.255,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56832,
    "c": 0.21419,
    "h": 342.6
  },
  "luminance": 0.15731
}

Semantic roles & 50–950 ramp

primary
#C42B98
secondary
#7DCE94
accent
#E77141
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#150A11
muted
#847C80

Preview Lab

Preview with #C42B98

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

Preview Lab → · Contrast checker → · Palette generator →

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