#C42FA0#C42FA0

#C42FA0 is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.215 H 339.8°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C42FA0
RGBrgb(196, 47, 160)
HSLhsl(314, 61%, 48%)
HSVhsv(314, 76%, 77%)
CMYKcmyk(0%, 76%, 18.4%, 23.1%)
CIE-LABlab(47.38, 67.73, -27.49)
CIE-LCHlch(47.38, 73.10, 337.91°)
OKLaboklab(57.49% 0.202 -0.0743)
OKLCHoklch(57.49% 0.215 339.8)
XYZxyz(30.1275, 16.3099, 34.8124)
Luminance0.1631 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FA0 #2FC453
analogous
#9E2FC4 #C42FA0 #C42F55
triadic
#C42FA0 #A0C42F #2FA0C4
tetradic
#C42FA0 #C49E2F #2FC453 #2F55C4
square
#C42FA0 #C49E2F #2FC453 #2F55C4
split-complementary
#C42FA0 #55C42F #2FC49E
monochromatic
#61174F #932378 #C42FA0 #D759B9 #E38ACE

Accessibility & contrast

On white

4.93
#C42FA0 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C42FA0 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42FA0
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FA0#FFFFFF#000000##FFFFFF
##C42FA01.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A61A3
Deuteranopia (green-blind)
#6B799D
Tritanopia (blue-blind)
#D03565
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c42fa0;
/* rgb */ color: rgb(196, 47, 160);
/* oklch */ color: oklch(57.5% 0.215 339.8);
Tailwind
colors: {
  custom: {
    50: '#da77bc',
    500: '#c42fa0',
    950: '#000000',
  },
}
SCSS
$custom: #c42fa0;
$custom-light: #da77bc;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fa0",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 160
  },
  "hsl": {
    "h": 314.497,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57494,
    "c": 0.21524,
    "h": 339.8
  },
  "luminance": 0.16307
}

Semantic roles & 50–950 ramp

primary
#C42FA0
secondary
#82CD94
accent
#E46A43
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42FA0

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

Preview Lab → · Contrast checker → · Palette generator →

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