#C42A6F#C42A6F

#C42A6F is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.195 H 359.2°. Best body text is #FFFFFF at 5.37:1 contrast (WCAG AA passes).

Color values

HEX#C42A6F
RGBrgb(196, 42, 111)
HSLhsl(333, 65%, 47%)
HSVhsv(333, 79%, 77%)
CMYKcmyk(0%, 78.6%, 43.4%, 23.1%)
CIE-LABlab(45.00, 63.56, -1.34)
CIE-LCHlch(45.00, 63.57, 358.79°)
OKLaboklab(55.16% 0.1954 -0.0028)
OKLCHoklch(55.16% 0.195 359.2)
XYZxyz(26.4642, 14.5429, 16.4493)
Luminance0.1454 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42A6F #2AC47F
analogous
#C42ABC #C42A6F #C4322A
triadic
#C42A6F #6FC42A #2A6FC4
tetradic
#C42A6F #BCC42A #2AC47F #322AC4
square
#C42A6F #BCC42A #2AC47F #322AC4
split-complementary
#C42A6F #2AC432 #2ABCC4
monochromatic
#5F1436 #921F52 #C42A6F #DA518F #E584AF

Accessibility & contrast

On white

5.37
#C42A6F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.91
#C42A6F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42A6F
5.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42A6F#FFFFFF#000000##FFFFFF
##C42A6F1.005.373.915.37
#FFFFFF5.371.0021.001.00
#0000003.9121.001.0021.00
##FFFFFF5.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5871
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#D50649
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42a6f;
/* rgb */ color: rgb(196, 42, 111);
/* oklch */ color: oklch(55.2% 0.195 359.2);
Tailwind
colors: {
  custom: {
    50: '#dc7498',
    500: '#c42a6f',
    950: '#000000',
  },
}
SCSS
$custom: #c42a6f;
$custom-light: #dc7498;
$custom-dark: #000000;
JSON
{
  "hex": "#c42a6f",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 111
  },
  "hsl": {
    "h": 333.117,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55155,
    "c": 0.19543,
    "h": 359.2
  },
  "luminance": 0.14539
}

Semantic roles & 50–950 ramp

primary
#C42A6F
secondary
#7CCEA9
accent
#E89D40
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42A6F

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

Preview Lab → · Contrast checker → · Palette generator →

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