#C42A7A#C42A7A

#C42A7A is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.5% C 0.200 H 354.5°. Best body text is #FFFFFF at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#C42A7A
RGBrgb(196, 42, 122)
HSLhsl(329, 65%, 47%)
HSVhsv(329, 79%, 77%)
CMYKcmyk(0%, 78.6%, 37.8%, 23.1%)
CIE-LABlab(45.36, 64.64, -7.59)
CIE-LCHlch(45.36, 65.08, 353.30°)
OKLaboklab(55.53% 0.1987 -0.0192)
OKLCHoklch(55.53% 0.2 354.5)
XYZxyz(27.1076, 14.8003, 19.8378)
Luminance0.1480 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42A7A #2AC474
analogous
#C12AC4 #C42A7A #C42A2D
triadic
#C42A7A #7AC42A #2A7AC4
tetradic
#C42A7A #C4C12A #2AC474 #2A2DC4
square
#C42A7A #C4C12A #2AC474 #2A2DC4
split-complementary
#C42A7A #2DC42A #2AC4C1
monochromatic
#5F143B #921F5B #C42A7A #DA5198 #E584B6

Accessibility & contrast

On white

5.30
#C42A7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.96
#C42A7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42A7A
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42A7A#FFFFFF#000000##FFFFFF
##C42A7A1.005.303.965.30
#FFFFFF5.301.0021.001.00
#0000003.9621.001.0021.00
##FFFFFF5.301.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597C
Deuteranopia (green-blind)
#757577
Tritanopia (blue-blind)
#D4144F
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42a7a;
/* rgb */ color: rgb(196, 42, 122);
/* oklch */ color: oklch(55.5% 0.200 354.5);
Tailwind
colors: {
  custom: {
    50: '#db74a0',
    500: '#c42a7a',
    950: '#000000',
  },
}
SCSS
$custom: #c42a7a;
$custom-light: #db74a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c42a7a",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 122
  },
  "hsl": {
    "h": 328.831,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55534,
    "c": 0.19965,
    "h": 354.5
  },
  "luminance": 0.14797
}

Semantic roles & 50–950 ramp

primary
#C42A7A
secondary
#7CCEA3
accent
#E89140
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42A7A

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

Preview Lab → · Contrast checker → · Palette generator →

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