#C42B97#C42B97

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

Color values

HEX#C42B97
RGBrgb(196, 43, 151)
HSLhsl(318, 64%, 47%)
HSVhsv(318, 78%, 77%)
CMYKcmyk(0%, 78.1%, 23%, 23.1%)
CIE-LABlab(46.58, 67.70, -23.34)
CIE-LCHlch(46.58, 71.61, 340.98°)
OKLaboklab(56.79% 0.2042 -0.0626)
OKLCHoklch(56.79% 0.214 343)
XYZxyz(29.2159, 15.7010, 30.7642)
Luminance0.1570 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B97 #2BC458
analogous
#A52BC4 #C42B97 #C42B4B
triadic
#C42B97 #97C42B #2B97C4
tetradic
#C42B97 #C4A52B #2BC458 #2B4BC4
square
#C42B97 #C4A52B #2BC458 #2B4BC4
split-complementary
#C42B97 #4BC42B #2BC4A5
monochromatic
#60154A #922070 #C42B97 #D953B2 #E485C8

Accessibility & contrast

On white

5.07
#C42B97 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C42B97 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B97
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B97#FFFFFF#000000##FFFFFF
##C42B971.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c42b97;
/* rgb */ color: rgb(196, 43, 151);
/* oklch */ color: oklch(56.8% 0.214 343.0);
Tailwind
colors: {
  custom: {
    50: '#da75b5',
    500: '#c42b97',
    950: '#000000',
  },
}
SCSS
$custom: #c42b97;
$custom-light: #da75b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b97",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 151
  },
  "hsl": {
    "h": 317.647,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.56787,
    "c": 0.2136,
    "h": 343
  },
  "luminance": 0.15698
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42B97

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

Preview Lab → · Contrast checker → · Palette generator →

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