#C42B71#C42B71

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

Color values

HEX#C42B71
RGBrgb(196, 43, 113)
HSLhsl(333, 64%, 47%)
HSVhsv(333, 78%, 77%)
CMYKcmyk(0%, 78.1%, 42.3%, 23.1%)
CIE-LABlab(45.16, 63.46, -2.34)
CIE-LCHlch(45.16, 63.51, 357.89°)
OKLaboklab(55.29% 0.1951 -0.0054)
OKLCHoklch(55.29% 0.195 358.4)
XYZxyz(26.6115, 14.6593, 17.0478)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42B71 #2BC47E
analogous
#C42BBE #C42B71 #C4312B
triadic
#C42B71 #71C42B #2B71C4
tetradic
#C42B71 #BEC42B #2BC47E #312BC4
square
#C42B71 #BEC42B #2BC47E #312BC4
split-complementary
#C42B71 #2BC431 #2BBEC4
monochromatic
#601537 #922054 #C42B71 #D95390 #E485B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C42B71#FFFFFF#000000##FFFFFF
##C42B711.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)
#4E5873
Deuteranopia (green-blind)
#77756E
Tritanopia (blue-blind)
#D40C4B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c42b71;
/* rgb */ color: rgb(196, 43, 113);
/* oklch */ color: oklch(55.3% 0.195 358.4);
Tailwind
colors: {
  custom: {
    50: '#db7499',
    500: '#c42b71',
    950: '#000000',
  },
}
SCSS
$custom: #c42b71;
$custom-light: #db7499;
$custom-dark: #000000;
JSON
{
  "hex": "#c42b71",
  "rgb": {
    "r": 196,
    "g": 43,
    "b": 113
  },
  "hsl": {
    "h": 332.549,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.55294,
    "c": 0.1952,
    "h": 358.4
  },
  "luminance": 0.14656
}

Semantic roles & 50–950 ramp

primary
#C42B71
secondary
#7DCEA9
accent
#E79B41
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42B71

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

Preview Lab → · Contrast checker → · Palette generator →

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