#C42F71#C42F71

#C42F71 is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.6% C 0.191 H 358.9°. Best body text is #FFFFFF at 5.26:1 contrast (WCAG AA passes).

Color values

HEX#C42F71
RGBrgb(196, 47, 113)
HSLhsl(333, 61%, 48%)
HSVhsv(333, 76%, 77%)
CMYKcmyk(0%, 76%, 42.3%, 23.1%)
CIE-LABlab(45.59, 62.27, -1.72)
CIE-LCHlch(45.59, 62.29, 358.42°)
OKLaboklab(55.6% 0.1913 -0.0038)
OKLCHoklch(55.6% 0.191 358.9)
XYZxyz(26.7641, 14.9645, 17.0986)
Luminance0.1496 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42F71 #2FC482
analogous
#C42FBB #C42F71 #C4382F
triadic
#C42F71 #71C42F #2F71C4
tetradic
#C42F71 #BBC42F #2FC482 #382FC4
square
#C42F71 #BBC42F #2FC482 #382FC4
split-complementary
#C42F71 #2FC438 #2FBBC4
monochromatic
#611738 #932355 #C42F71 #D75991 #E38AB2

Accessibility & contrast

On white

5.26
#C42F71 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#C42F71 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42F71
5.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42F71#FFFFFF#000000##FFFFFF
##C42F711.005.263.995.26
#FFFFFF5.261.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505A73
Deuteranopia (green-blind)
#79766E
Tritanopia (blue-blind)
#D4154C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c42f71;
/* rgb */ color: rgb(196, 47, 113);
/* oklch */ color: oklch(55.6% 0.191 358.9);
Tailwind
colors: {
  custom: {
    50: '#db7699',
    500: '#c42f71',
    950: '#000000',
  },
}
SCSS
$custom: #c42f71;
$custom-light: #db7699;
$custom-dark: #000000;
JSON
{
  "hex": "#c42f71",
  "rgb": {
    "r": 196,
    "g": 47,
    "b": 113
  },
  "hsl": {
    "h": 333.423,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55603,
    "c": 0.19135,
    "h": 358.9
  },
  "luminance": 0.14961
}

Semantic roles & 50–950 ramp

primary
#C42F71
secondary
#82CDAC
accent
#E49D43
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42F71

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

Preview Lab → · Contrast checker → · Palette generator →

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