#C42FA3#C42FA3

#C42FA3 is a mid, highly saturated pink. Relative luminance 0.164; OKLCH L 57.6% C 0.217 H 338.7°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#C42FA3
RGBrgb(196, 47, 163)
HSLhsl(313, 61%, 48%)
HSVhsv(313, 76%, 77%)
CMYKcmyk(0%, 76%, 16.8%, 23.1%)
CIE-LABlab(47.52, 68.14, -29.06)
CIE-LCHlch(47.52, 74.07, 336.90°)
OKLaboklab(57.64% 0.2024 -0.0788)
OKLCHoklch(57.64% 0.217 338.7)
XYZxyz(30.3931, 16.4161, 36.2112)
Luminance0.1641 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FA3 #2FC450
analogous
#9B2FC4 #C42FA3 #C42F58
triadic
#C42FA3 #A3C42F #2FA3C4
tetradic
#C42FA3 #C49B2F #2FC450 #2F58C4
square
#C42FA3 #C49B2F #2FC450 #2F58C4
split-complementary
#C42FA3 #58C42F #2FC49B
monochromatic
#611751 #93237A #C42FA3 #D759BB #E38ACF

Accessibility & contrast

On white

4.90
#C42FA3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#C42FA3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42FA3
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FA3#FFFFFF#000000##FFFFFF
##C42FA31.004.904.284.90
#FFFFFF4.901.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3862A6
Deuteranopia (green-blind)
#6A79A0
Tritanopia (blue-blind)
#CF3666
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c42fa3;
/* rgb */ color: rgb(196, 47, 163);
/* oklch */ color: oklch(57.6% 0.217 338.7);
Tailwind
colors: {
  custom: {
    50: '#da77be',
    500: '#c42fa3',
    950: '#000000',
  },
}
SCSS
$custom: #c42fa3;
$custom-light: #da77be;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fa3",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 163
  },
  "hsl": {
    "h": 313.289,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57638,
    "c": 0.21717,
    "h": 338.7
  },
  "luminance": 0.16413
}

Semantic roles & 50–950 ramp

primary
#C42FA3
secondary
#82CD92
accent
#E46743
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42FA3

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

Preview Lab → · Contrast checker → · Palette generator →

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