#C42B99#C42B99

#C42B99 is a mid, highly saturated pink. Relative luminance 0.158; OKLCH L 56.9% C 0.215 H 342.2°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C42B99
RGBrgb(196, 43, 153)
HSLhsl(317, 64%, 47%)
HSVhsv(317, 78%, 77%)
CMYKcmyk(0%, 78.1%, 21.9%, 23.1%)
CIE-LABlab(46.67, 67.95, -24.41)
CIE-LCHlch(46.67, 72.21, 340.24°)
OKLaboklab(56.88% 0.2045 -0.0656)
OKLCHoklch(56.88% 0.215 342.2)
XYZxyz(29.3797, 15.7665, 31.6268)
Luminance0.1576 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B99 #2BC456
analogous
#A32BC4 #C42B99 #C42B4C
triadic
#C42B99 #99C42B #2B99C4
tetradic
#C42B99 #C4A32B #2BC456 #2B4CC4
square
#C42B99 #C4A32B #2BC456 #2B4CC4
split-complementary
#C42B99 #4CC42B #2BC4A3
monochromatic
#60154B #922072 #C42B99 #D953B4 #E485CA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42B99#FFFFFF#000000##FFFFFF
##C42B991.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)
#3B5F9C
Deuteranopia (green-blind)
#6C7796
Tritanopia (blue-blind)
#D12D60
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c42b99;
/* rgb */ color: rgb(196, 43, 153);
/* oklch */ color: oklch(56.9% 0.215 342.2);
Tailwind
colors: {
  custom: {
    50: '#da75b7',
    500: '#c42b99',
    950: '#000000',
  },
}
SCSS
$custom: #c42b99;
$custom-light: #da75b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b99",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 153
  },
  "hsl": {
    "h": 316.863,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56878,
    "c": 0.21479,
    "h": 342.2
  },
  "luminance": 0.15763
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42B99

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

Preview Lab → · Contrast checker → · Palette generator →

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