#C42874#C42874

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

Color values

HEX#C42874
RGBrgb(196, 40, 116)
HSLhsl(331, 66%, 46%)
HSVhsv(331, 80%, 77%)
CMYKcmyk(0%, 79.6%, 40.8%, 23.1%)
CIE-LABlab(44.97, 64.59, -4.48)
CIE-LCHlch(44.97, 64.74, 356.03°)
OKLaboklab(55.18% 0.1987 -0.011)
OKLCHoklch(55.18% 0.199 356.8)
XYZxyz(26.6781, 14.5178, 17.9170)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C42874 #28C478
analogous
#C428C2 #C42874 #C42A28
triadic
#C42874 #74C428 #2874C4
tetradic
#C42874 #C2C428 #28C478 #2A28C4
square
#C42874 #C2C428 #28C478 #2A28C4
split-complementary
#C42874 #28C42A #28C2C4
monochromatic
#5E1338 #911E56 #C42874 #DB4E93 #E581B2

Accessibility & contrast

On white

5.38
#C42874 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C42874
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C42874#FFFFFF#000000##FFFFFF
##C428741.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B5876
Deuteranopia (green-blind)
#767571
Tritanopia (blue-blind)
#D4074B
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c42874;
/* rgb */ color: rgb(196, 40, 116);
/* oklch */ color: oklch(55.2% 0.199 356.8);
Tailwind
colors: {
  custom: {
    50: '#db739b',
    500: '#c42874',
    950: '#000000',
  },
}
SCSS
$custom: #c42874;
$custom-light: #db739b;
$custom-dark: #000000;
JSON
{
  "hex": "#c42874",
  "rgb": {
    "r": 196,
    "g": 40,
    "b": 116
  },
  "hsl": {
    "h": 330.769,
    "s": 66.102,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55181,
    "c": 0.19902,
    "h": 356.8
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#C42874
secondary
#7ACEA5
accent
#E9963F
background
#FEF7F9
surface
#FCEDF2
border
#D5C8CC
text
#16090E
muted
#847B7E

Preview Lab

Preview with #C42874

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

Preview Lab → · Contrast checker → · Palette generator →

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