#C42A6E#C42A6E

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

Color values

HEX#C42A6E
RGBrgb(196, 42, 110)
HSLhsl(334, 65%, 47%)
HSVhsv(334, 79%, 77%)
CMYKcmyk(0%, 78.6%, 43.9%, 23.1%)
CIE-LABlab(44.97, 63.46, -0.77)
CIE-LCHlch(44.97, 63.47, 359.30°)
OKLaboklab(55.12% 0.1951 -0.0013)
OKLCHoklch(55.12% 0.195 359.6)
XYZxyz(26.4095, 14.5210, 16.1610)
Luminance0.1452 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42A6E #2AC480
analogous
#C42ABB #C42A6E #C4332A
triadic
#C42A6E #6EC42A #2A6EC4
tetradic
#C42A6E #BBC42A #2AC480 #332AC4
square
#C42A6E #BBC42A #2AC480 #332AC4
split-complementary
#C42A6E #2AC433 #2ABBC4
monochromatic
#5F1435 #921F52 #C42A6E #DA518E #E584AF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42A6E#FFFFFF#000000##FFFFFF
##C42A6E1.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)
#4E5870
Deuteranopia (green-blind)
#78756A
Tritanopia (blue-blind)
#D50449
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42a6e;
/* rgb */ color: rgb(196, 42, 110);
/* oklch */ color: oklch(55.1% 0.195 359.6);
Tailwind
colors: {
  custom: {
    50: '#dc7497',
    500: '#c42a6e',
    950: '#000000',
  },
}
SCSS
$custom: #c42a6e;
$custom-light: #dc7497;
$custom-dark: #000000;
JSON
{
  "hex": "#c42a6e",
  "rgb": {
    "r": 196,
    "g": 42,
    "b": 110
  },
  "hsl": {
    "h": 333.506,
    "s": 64.706,
    "l": 46.667
  },
  "oklch": {
    "l": 0.55123,
    "c": 0.19509,
    "h": 359.6
  },
  "luminance": 0.14517
}

Semantic roles & 50–950 ramp

primary
#C42A6E
secondary
#7CCEAA
accent
#E89E40
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42A6E

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

Preview Lab → · Contrast checker → · Palette generator →

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