#C42F96#C42F96

#C42F96 is a mid, highly saturated pink. Relative luminance 0.160; OKLCH L 57.0% C 0.209 H 343.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C42F96
RGBrgb(196, 47, 150)
HSLhsl(319, 61%, 48%)
HSVhsv(319, 76%, 77%)
CMYKcmyk(0%, 76%, 23.5%, 23.1%)
CIE-LABlab(46.94, 66.42, -22.18)
CIE-LCHlch(46.94, 70.03, 341.53°)
OKLaboklab(57.03% 0.2005 -0.0593)
OKLCHoklch(57.03% 0.209 343.5)
XYZxyz(29.2876, 15.9739, 30.3891)
Luminance0.1597 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F96 #2FC45D
analogous
#A72FC4 #C42F96 #C42F4C
triadic
#C42F96 #96C42F #2F96C4
tetradic
#C42F96 #C4A72F #2FC45D #2F4CC4
square
#C42F96 #C4A72F #2FC45D #2F4CC4
split-complementary
#C42F96 #4CC42F #2FC4A7
monochromatic
#61174A #932370 #C42F96 #D759B0 #E38AC8

Accessibility & contrast

On white

5.01
#C42F96 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#C42F96 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F96
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F96#FFFFFF#000000##FFFFFF
##C42F961.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#406099
Deuteranopia (green-blind)
#6F7893
Tritanopia (blue-blind)
#D12F5F
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c42f96;
/* rgb */ color: rgb(196, 47, 150);
/* oklch */ color: oklch(57.0% 0.209 343.5);
Tailwind
colors: {
  custom: {
    50: '#da77b5',
    500: '#c42f96',
    950: '#000000',
  },
}
SCSS
$custom: #c42f96;
$custom-light: #da77b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f96",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 150
  },
  "hsl": {
    "h": 318.523,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57034,
    "c": 0.20911,
    "h": 343.5
  },
  "luminance": 0.15971
}

Semantic roles & 50–950 ramp

primary
#C42F96
secondary
#82CD99
accent
#E47543
background
#FEF7FB
surface
#FCEEF6
border
#D5C9D0
text
#150A11
muted
#847C80

Preview Lab

Preview with #C42F96

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

Preview Lab → · Contrast checker → · Palette generator →

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