#C42B6E#C42B6E

#C42B6E is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.2% C 0.194 H 359.7°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C42B6E
RGBrgb(196, 43, 110)
HSLhsl(334, 64%, 47%)
HSVhsv(334, 78%, 77%)
CMYKcmyk(0%, 78.1%, 43.9%, 23.1%)
CIE-LABlab(45.07, 63.18, -0.62)
CIE-LCHlch(45.07, 63.18, 359.43°)
OKLaboklab(55.2% 0.1942 -0.0009)
OKLCHoklch(55.2% 0.194 359.7)
XYZxyz(26.4454, 14.5928, 16.1729)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B6E #2BC481
analogous
#C42BBB #C42B6E #C4342B
triadic
#C42B6E #6EC42B #2B6EC4
tetradic
#C42B6E #BBC42B #2BC481 #342BC4
square
#C42B6E #BBC42B #2BC481 #342BC4
split-complementary
#C42B6E #2BC434 #2BBBC4
monochromatic
#601536 #922052 #C42B6E #D9538E #E485AF

Accessibility & contrast

On white

5.36
#C42B6E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#C42B6E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42B6E
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42B6E#FFFFFF#000000##FFFFFF
##C42B6E1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5870
Deuteranopia (green-blind)
#78756B
Tritanopia (blue-blind)
#D50749
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42b6e;
/* rgb */ color: rgb(196, 43, 110);
/* oklch */ color: oklch(55.2% 0.194 359.7);
Tailwind
colors: {
  custom: {
    50: '#dc7497',
    500: '#c42b6e',
    950: '#000000',
  },
}
SCSS
$custom: #c42b6e;
$custom-light: #dc7497;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b6e",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 110
  },
  "hsl": {
    "h": 333.725,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55196,
    "c": 0.19417,
    "h": 359.7
  },
  "luminance": 0.14589
}

Semantic roles & 50–950 ramp

primary
#C42B6E
secondary
#7DCEAA
accent
#E79E41
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42B6E

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

Preview Lab → · Contrast checker → · Palette generator →

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