#C42873#C42873

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

Color values

HEX#C42873
RGBrgb(196, 40, 115)
HSLhsl(331, 66%, 46%)
HSVhsv(331, 80%, 77%)
CMYKcmyk(0%, 79.6%, 41.3%, 23.1%)
CIE-LABlab(44.93, 64.49, -3.91)
CIE-LCHlch(44.93, 64.61, 356.53°)
OKLaboklab(55.15% 0.1984 -0.0095)
OKLCHoklch(55.15% 0.199 357.3)
XYZxyz(26.6202, 14.4946, 17.6123)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42873 #28C479
analogous
#C428C1 #C42873 #C42B28
triadic
#C42873 #73C428 #2873C4
tetradic
#C42873 #C1C428 #28C479 #2B28C4
square
#C42873 #C1C428 #28C479 #2B28C4
split-complementary
#C42873 #28C42B #28C1C4
monochromatic
#5E1337 #911E55 #C42873 #DB4E92 #E581B1

Accessibility & contrast

On white

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

On black

3.90
#C42873 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C42873#FFFFFF#000000##FFFFFF
##C428731.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5875
Deuteranopia (green-blind)
#767570
Tritanopia (blue-blind)
#D4064A
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42873;
/* rgb */ color: rgb(196, 40, 115);
/* oklch */ color: oklch(55.1% 0.199 357.3);
Tailwind
colors: {
  custom: {
    50: '#db739b',
    500: '#c42873',
    950: '#000000',
  },
}
SCSS
$custom: #c42873;
$custom-light: #db739b;
$custom-dark: #000000;
JSON
{
  "hex": "#c42873",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 115
  },
  "hsl": {
    "h": 331.154,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55147,
    "c": 0.19865,
    "h": 357.3
  },
  "luminance": 0.14491
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C42873

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

Preview Lab → · Contrast checker → · Palette generator →

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