#C42B6A#C42B6A

#C42B6A is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.193 H 1.5°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C42B6A
RGBrgb(196, 43, 106)
HSLhsl(335, 64%, 47%)
HSVhsv(335, 78%, 77%)
CMYKcmyk(0%, 78.1%, 45.9%, 23.1%)
CIE-LABlab(44.95, 62.81, 1.68)
CIE-LCHlch(44.95, 62.84, 1.53°)
OKLaboklab(55.07% 0.1928 0.005)
OKLCHoklch(55.07% 0.193 1.5)
XYZxyz(26.2325, 14.5077, 15.0518)
Luminance0.1450 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B6A #2BC485
analogous
#C42BB7 #C42B6A #C4382B
triadic
#C42B6A #6AC42B #2B6AC4
tetradic
#C42B6A #B7C42B #2BC485 #382BC4
square
#C42B6A #B7C42B #2BC485 #382BC4
split-complementary
#C42B6A #2BC438 #2BB7C4
monochromatic
#601534 #92204F #C42B6A #D9538A #E485AC

Accessibility & contrast

On white

5.38
#C42B6A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C42B6A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B6A
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B6A#FFFFFF#000000##FFFFFF
##C42B6A1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#50586B
Deuteranopia (green-blind)
#797566
Tritanopia (blue-blind)
#D50247
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42b6a;
/* rgb */ color: rgb(196, 43, 106);
/* oklch */ color: oklch(55.1% 0.193 1.5);
Tailwind
colors: {
  custom: {
    50: '#dc7494',
    500: '#c42b6a',
    950: '#000000',
  },
}
SCSS
$custom: #c42b6a;
$custom-light: #dc7494;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b6a",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 106
  },
  "hsl": {
    "h": 335.294,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.5507,
    "c": 0.1929,
    "h": 1.5
  },
  "luminance": 0.14504
}

Semantic roles & 50–950 ramp

primary
#C42B6A
secondary
#7DCEAC
accent
#E7A341
background
#FEF7F9
surface
#FCEDF1
border
#D5C8CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42B6A

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

Preview Lab → · Contrast checker → · Palette generator →

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