#C02C7A#C02C7A

#C02C7A is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.195 H 353.6°. Best body text is #FFFFFF at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#C02C7A
RGBrgb(192, 44, 122)
HSLhsl(328, 63%, 46%)
HSVhsv(328, 77%, 75%)
CMYKcmyk(0%, 77.1%, 36.5%, 24.7%)
CIE-LABlab(44.82, 63.04, -8.47)
CIE-LCHlch(44.82, 63.61, 352.35°)
OKLaboklab(55.01% 0.1936 -0.0216)
OKLCHoklch(55.01% 0.195 353.6)
XYZxyz(26.1535, 14.4162, 19.8139)
Luminance0.1441 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C7A #2CC072
analogous
#BC2CC0 #C02C7A #C02C30
triadic
#C02C7A #7AC02C #2C7AC0
tetradic
#C02C7A #C0BC2C #2CC072 #2C30C0
square
#C02C7A #C0BC2C #2CC072 #2C30C0
split-complementary
#C02C7A #30C02C #2CC0BC
monochromatic
#5C153B #8E215A #C02C7A #D75298 #E384B6

Accessibility & contrast

On white

5.41
#C02C7A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.88
#C02C7A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C7A
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C7A#FFFFFF#000000##FFFFFF
##C02C7A1.005.413.885.41
#FFFFFF5.411.0021.001.00
#0000003.8821.001.0021.00
##FFFFFF5.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597C
Deuteranopia (green-blind)
#737477
Tritanopia (blue-blind)
#CF1B4F
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02c7a;
/* rgb */ color: rgb(192, 44, 122);
/* oklch */ color: oklch(55.0% 0.195 353.6);
Tailwind
colors: {
  custom: {
    50: '#d874a0',
    500: '#c02c7a',
    950: '#000000',
  },
}
SCSS
$custom: #c02c7a;
$custom-light: #d874a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c7a",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 122
  },
  "hsl": {
    "h": 328.378,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55008,
    "c": 0.19479,
    "h": 353.6
  },
  "luminance": 0.14413
}

Semantic roles & 50–950 ramp

primary
#C02C7A
secondary
#7CCCA2
accent
#E68F42
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C02C7A

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

Preview Lab → · Contrast checker → · Palette generator →

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