#C02C78#C02C78

#C02C78 is a mid, vivid pink. Relative luminance 0.144; OKLCH L 54.9% C 0.194 H 354.5°. Best body text is #FFFFFF at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#C02C78
RGBrgb(192, 44, 120)
HSLhsl(329, 63%, 46%)
HSVhsv(329, 77%, 75%)
CMYKcmyk(0%, 77.1%, 37.5%, 24.7%)
CIE-LABlab(44.76, 62.83, -7.34)
CIE-LCHlch(44.76, 63.26, 353.34°)
OKLaboklab(54.94% 0.193 -0.0186)
OKLCHoklch(54.94% 0.194 354.5)
XYZxyz(26.0308, 14.3672, 19.1680)
Luminance0.1436 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C78 #2CC074
analogous
#BE2CC0 #C02C78 #C02C2E
triadic
#C02C78 #78C02C #2C78C0
tetradic
#C02C78 #C0BE2C #2CC074 #2C2EC0
square
#C02C78 #C0BE2C #2CC074 #2C2EC0
split-complementary
#C02C78 #2EC02C #2CC0BE
monochromatic
#5C153A #8E2159 #C02C78 #D75296 #E384B4

Accessibility & contrast

On white

5.42
#C02C78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#C02C78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C78
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C78#FFFFFF#000000##FFFFFF
##C02C781.005.423.875.42
#FFFFFF5.421.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A597A
Deuteranopia (green-blind)
#737475
Tritanopia (blue-blind)
#CF194E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02c78;
/* rgb */ color: rgb(192, 44, 120);
/* oklch */ color: oklch(54.9% 0.194 354.5);
Tailwind
colors: {
  custom: {
    50: '#d8749e',
    500: '#c02c78',
    950: '#000000',
  },
}
SCSS
$custom: #c02c78;
$custom-light: #d8749e;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c78",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 120
  },
  "hsl": {
    "h": 329.189,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54935,
    "c": 0.19392,
    "h": 354.5
  },
  "luminance": 0.14364
}

Semantic roles & 50–950 ramp

primary
#C02C78
secondary
#7CCCA3
accent
#E69242
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C02C78

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

Preview Lab → · Contrast checker → · Palette generator →

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