#C42FA2#C42FA2

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

Color values

HEX#C42FA2
RGBrgb(196, 47, 162)
HSLhsl(314, 61%, 48%)
HSVhsv(314, 76%, 77%)
CMYKcmyk(0%, 76%, 17.3%, 23.1%)
CIE-LABlab(47.47, 68.00, -28.53)
CIE-LCHlch(47.47, 73.75, 337.24°)
OKLaboklab(57.59% 0.2023 -0.0773)
OKLCHoklch(57.59% 0.217 339.1)
XYZxyz(30.3038, 16.3804, 35.7412)
Luminance0.1638 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42FA2 #2FC451
analogous
#9B2FC4 #C42FA2 #C42F58
triadic
#C42FA2 #A2C42F #2FA2C4
tetradic
#C42FA2 #C49B2F #2FC451 #2F58C4
square
#C42FA2 #C49B2F #2FC451 #2F58C4
split-complementary
#C42FA2 #58C42F #2FC49B
monochromatic
#611750 #932379 #C42FA2 #D759BA #E38ACF

Accessibility & contrast

On white

4.91
#C42FA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42FA2
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42FA2#FFFFFF#000000##FFFFFF
##C42FA21.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c42fa2;
/* rgb */ color: rgb(196, 47, 162);
/* oklch */ color: oklch(57.6% 0.217 339.1);
Tailwind
colors: {
  custom: {
    50: '#da77be',
    500: '#c42fa2',
    950: '#000000',
  },
}
SCSS
$custom: #c42fa2;
$custom-light: #da77be;
$custom-dark: #000000;
JSON
{
  "hex": "#c42fa2",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 162
  },
  "hsl": {
    "h": 313.691,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.57589,
    "c": 0.21652,
    "h": 339.1
  },
  "luminance": 0.16377
}

Semantic roles & 50–950 ramp

primary
#C42FA2
secondary
#82CD93
accent
#E46843
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C42FA2

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

Preview Lab → · Contrast checker → · Palette generator →

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