#C42F6A#C42F6A

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

Color values

HEX#C42F6A
RGBrgb(196, 47, 106)
HSLhsl(336, 61%, 48%)
HSVhsv(336, 76%, 77%)
CMYKcmyk(0%, 76%, 45.9%, 23.1%)
CIE-LABlab(45.38, 61.61, 2.29)
CIE-LCHlch(45.38, 61.66, 2.13°)
OKLaboklab(55.38% 0.189 0.0066)
OKLCHoklch(55.38% 0.189 2)
XYZxyz(26.3851, 14.8129, 15.1027)
Luminance0.1481 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F6A #2FC489
analogous
#C42FB4 #C42F6A #C43F2F
triadic
#C42F6A #6AC42F #2F6AC4
tetradic
#C42F6A #B4C42F #2FC489 #3F2FC4
square
#C42F6A #B4C42F #2FC489 #3F2FC4
split-complementary
#C42F6A #2FC43F #2FB4C4
monochromatic
#611735 #93234F #C42F6A #D7598B #E38AAD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42F6A#FFFFFF#000000##FFFFFF
##C42F6A1.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)
#52596B
Deuteranopia (green-blind)
#7A7667
Tritanopia (blue-blind)
#D50E49
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42f6a;
/* rgb */ color: rgb(196, 47, 106);
/* oklch */ color: oklch(55.4% 0.189 2.0);
Tailwind
colors: {
  custom: {
    50: '#dc7594',
    500: '#c42f6a',
    950: '#000000',
  },
}
SCSS
$custom: #c42f6a;
$custom-light: #dc7594;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f6a",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 106
  },
  "hsl": {
    "h": 336.242,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55382,
    "c": 0.1891,
    "h": 2
  },
  "luminance": 0.14809
}

Semantic roles & 50–950 ramp

primary
#C42F6A
secondary
#82CDAF
accent
#E4A543
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C42F6A

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

Preview Lab → · Contrast checker → · Palette generator →

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