#C02C81#C02C81

#C02C81 is a mid, vivid pink. Relative luminance 0.146; OKLCH L 55.3% C 0.198 H 350.6°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#C02C81
RGBrgb(192, 44, 129)
HSLhsl(326, 63%, 46%)
HSVhsv(326, 77%, 75%)
CMYKcmyk(0%, 77.1%, 32.8%, 24.7%)
CIE-LABlab(45.08, 63.81, -12.38)
CIE-LCHlch(45.08, 65.00, 349.02°)
OKLaboklab(55.27% 0.1954 -0.0322)
OKLCHoklch(55.27% 0.198 350.6)
XYZxyz(26.6029, 14.5960, 22.1810)
Luminance0.1459 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C81 #2CC06B
analogous
#B52CC0 #C02C81 #C02C37
triadic
#C02C81 #81C02C #2C81C0
tetradic
#C02C81 #C0B52C #2CC06B #2C37C0
square
#C02C81 #C0B52C #2CC06B #2C37C0
split-complementary
#C02C81 #37C02C #2CC0B5
monochromatic
#5C153E #8E2160 #C02C81 #D7529F #E384BA

Accessibility & contrast

On white

5.36
#C02C81 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#C02C81 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C81
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C81#FFFFFF#000000##FFFFFF
##C02C811.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#465A83
Deuteranopia (green-blind)
#71747E
Tritanopia (blue-blind)
#CF2053
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c02c81;
/* rgb */ color: rgb(192, 44, 129);
/* oklch */ color: oklch(55.3% 0.198 350.6);
Tailwind
colors: {
  custom: {
    50: '#d874a5',
    500: '#c02c81',
    950: '#000000',
  },
}
SCSS
$custom: #c02c81;
$custom-light: #d874a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c81",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 129
  },
  "hsl": {
    "h": 325.541,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55274,
    "c": 0.19806,
    "h": 350.6
  },
  "luminance": 0.14593
}

Semantic roles & 50–950 ramp

primary
#C02C81
secondary
#7CCC9E
accent
#E68842
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C02C81

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

Preview Lab → · Contrast checker → · Palette generator →

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