#C42A7C#C42A7C

#C42A7C is a mid, highly saturated pink. Relative luminance 0.148; OKLCH L 55.6% C 0.201 H 353.6°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#C42A7C
RGBrgb(196, 42, 124)
HSLhsl(328, 65%, 47%)
HSVhsv(328, 79%, 77%)
CMYKcmyk(0%, 78.6%, 36.7%, 23.1%)
CIE-LABlab(45.43, 64.85, -8.71)
CIE-LCHlch(45.43, 65.43, 352.35°)
OKLaboklab(55.61% 0.1993 -0.0222)
OKLCHoklch(55.61% 0.201 353.6)
XYZxyz(27.2328, 14.8503, 20.4972)
Luminance0.1485 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42A7C #2AC472
analogous
#BF2AC4 #C42A7C #C42A2F
triadic
#C42A7C #7CC42A #2A7CC4
tetradic
#C42A7C #C4BF2A #2AC472 #2A2FC4
square
#C42A7C #C4BF2A #2AC472 #2A2FC4
split-complementary
#C42A7C #2FC42A #2AC4BF
monochromatic
#5F143C #921F5C #C42A7C #DA519A #E584B7

Accessibility & contrast

On white

5.29
#C42A7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#C42A7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42A7C
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42A7C#FFFFFF#000000##FFFFFF
##C42A7C1.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495A7E
Deuteranopia (green-blind)
#757679
Tritanopia (blue-blind)
#D41650
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42a7c;
/* rgb */ color: rgb(196, 42, 124);
/* oklch */ color: oklch(55.6% 0.201 353.6);
Tailwind
colors: {
  custom: {
    50: '#db74a1',
    500: '#c42a7c',
    950: '#000000',
  },
}
SCSS
$custom: #c42a7c;
$custom-light: #db74a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c42a7c",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 124
  },
  "hsl": {
    "h": 328.052,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55607,
    "c": 0.20051,
    "h": 353.6
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#C42A7C
secondary
#7CCEA2
accent
#E88E40
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090F
muted
#847B7E

Preview Lab

Preview with #C42A7C

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

Preview Lab → · Contrast checker → · Palette generator →

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