#C42F62#C42F62

#C42F62 is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.187 H 5.6°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C42F62
RGBrgb(196, 47, 98)
HSLhsl(339, 61%, 48%)
HSVhsv(339, 76%, 77%)
CMYKcmyk(0%, 76%, 50%, 23.1%)
CIE-LABlab(45.16, 60.92, 6.93)
CIE-LCHlch(45.16, 61.31, 6.49°)
OKLaboklab(55.15% 0.1862 0.0182)
OKLCHoklch(55.15% 0.187 5.6)
XYZxyz(25.9884, 14.6542, 13.0130)
Luminance0.1465 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F62 #2FC491
analogous
#C42FAD #C42F62 #C4462F
triadic
#C42F62 #62C42F #2F62C4
tetradic
#C42F62 #ADC42F #2FC491 #462FC4
square
#C42F62 #ADC42F #2FC491 #462FC4
split-complementary
#C42F62 #2FC446 #2FADC4
monochromatic
#611731 #932349 #C42F62 #D75984 #E38AA9

Accessibility & contrast

On white

5.34
#C42F62 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C42F62 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F62
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F62#FFFFFF#000000##FFFFFF
##C42F621.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545863
Deuteranopia (green-blind)
#7B755E
Tritanopia (blue-blind)
#D60445
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42f62;
/* rgb */ color: rgb(196, 47, 98);
/* oklch */ color: oklch(55.1% 0.187 5.6);
Tailwind
colors: {
  custom: {
    50: '#dc758e',
    500: '#c42f62',
    950: '#000000',
  },
}
SCSS
$custom: #c42f62;
$custom-light: #dc758e;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f62",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 98
  },
  "hsl": {
    "h": 339.463,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55148,
    "c": 0.18705,
    "h": 5.6
  },
  "luminance": 0.14651
}

Semantic roles & 50–950 ramp

primary
#C42F62
secondary
#82CDB3
accent
#E4AD43
background
#FEF7F8
surface
#FCEEF0
border
#D5C9CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C42F62

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

Preview Lab → · Contrast checker → · Palette generator →

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