#C42872#C42872

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

Color values

HEX#C42872
RGBrgb(196, 40, 114)
HSLhsl(332, 66%, 46%)
HSVhsv(332, 80%, 77%)
CMYKcmyk(0%, 79.6%, 41.8%, 23.1%)
CIE-LABlab(44.90, 64.39, -3.34)
CIE-LCHlch(44.90, 64.48, 357.03°)
OKLaboklab(55.11% 0.1981 -0.008)
OKLCHoklch(55.11% 0.198 357.7)
XYZxyz(26.5630, 14.4718, 17.3109)
Luminance0.1447 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42872 #28C47A
analogous
#C428C0 #C42872 #C42C28
triadic
#C42872 #72C428 #2872C4
tetradic
#C42872 #C0C428 #28C47A #2C28C4
square
#C42872 #C0C428 #28C47A #2C28C4
split-complementary
#C42872 #28C42C #28C0C4
monochromatic
#5E1337 #911E54 #C42872 #DB4E91 #E581B1

Accessibility & contrast

On white

5.39
#C42872 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C42872 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C42872
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42872#FFFFFF#000000##FFFFFF
##C428721.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C5874
Deuteranopia (green-blind)
#76756E
Tritanopia (blue-blind)
#D4044A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42872;
/* rgb */ color: rgb(196, 40, 114);
/* oklch */ color: oklch(55.1% 0.198 357.7);
Tailwind
colors: {
  custom: {
    50: '#dc739a',
    500: '#c42872',
    950: '#000000',
  },
}
SCSS
$custom: #c42872;
$custom-light: #dc739a;
$custom-dark: #000000;
JSON
{
  "hex": "#c42872",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 114
  },
  "hsl": {
    "h": 331.538,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55113,
    "c": 0.19828,
    "h": 357.7
  },
  "luminance": 0.14468
}

Semantic roles & 50–950 ramp

primary
#C42872
secondary
#7ACEA6
accent
#E9983F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42872

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

Preview Lab → · Contrast checker → · Palette generator →

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