#C02B78#C02B78

#C02B78 is a mid, vivid pink. Relative luminance 0.143; OKLCH L 54.9% C 0.195 H 354.4°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#C02B78
RGBrgb(192, 43, 120)
HSLhsl(329, 63%, 46%)
HSVhsv(329, 78%, 75%)
CMYKcmyk(0%, 77.6%, 37.5%, 24.7%)
CIE-LABlab(44.65, 63.12, -7.50)
CIE-LCHlch(44.65, 63.57, 353.23°)
OKLaboklab(54.86% 0.194 -0.019)
OKLCHoklch(54.86% 0.195 354.4)
XYZxyz(25.9940, 14.2935, 19.1557)
Luminance0.1429 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02B78 #2BC073
analogous
#BD2BC0 #C02B78 #C02B2E
triadic
#C02B78 #78C02B #2B78C0
tetradic
#C02B78 #C0BD2B #2BC073 #2B2EC0
square
#C02B78 #C0BD2B #2BC073 #2B2EC0
split-complementary
#C02B78 #2EC02B #2BC0BD
monochromatic
#5C1539 #8E2059 #C02B78 #D85096 #E382B4

Accessibility & contrast

On white

5.44
#C02B78 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#C02B78 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02B78
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02B78#FFFFFF#000000##FFFFFF
##C02B781.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49587A
Deuteranopia (green-blind)
#737375
Tritanopia (blue-blind)
#CF184E
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02b78;
/* rgb */ color: rgb(192, 43, 120);
/* oklch */ color: oklch(54.9% 0.195 354.4);
Tailwind
colors: {
  custom: {
    50: '#d8749e',
    500: '#c02b78',
    950: '#000000',
  },
}
SCSS
$custom: #c02b78;
$custom-light: #d8749e;
$custom-dark: #000000;
JSON
{
  "hex": "#c02b78",
  "rgb": {
    "r": 192,
    "g": 43,
    "b": 120
  },
  "hsl": {
    "h": 328.993,
    "s": 63.404,
    "l": 46.078
  },
  "oklch": {
    "l": 0.54859,
    "c": 0.1949,
    "h": 354.4
  },
  "luminance": 0.1429
}

Semantic roles & 50–950 ramp

primary
#C02B78
secondary
#7BCCA2
accent
#E69141
background
#FDF7F9
surface
#FBEDF2
border
#D4C8CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C02B78

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

Preview Lab → · Contrast checker → · Palette generator →

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