#C02C7C#C02C7C

#C02C7C is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.1% C 0.196 H 352.8°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#C02C7C
RGBrgb(192, 44, 124)
HSLhsl(328, 63%, 46%)
HSVhsv(328, 77%, 75%)
CMYKcmyk(0%, 77.1%, 35.4%, 24.7%)
CIE-LABlab(44.89, 63.25, -9.59)
CIE-LCHlch(44.89, 63.98, 351.38°)
OKLaboklab(55.08% 0.1941 -0.0246)
OKLCHoklch(55.08% 0.196 352.8)
XYZxyz(26.2787, 14.4663, 20.4733)
Luminance0.1446 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C7C #2CC070
analogous
#BA2CC0 #C02C7C #C02C32
triadic
#C02C7C #7CC02C #2C7CC0
tetradic
#C02C7C #C0BA2C #2CC070 #2C32C0
square
#C02C7C #C0BA2C #2CC070 #2C32C0
split-complementary
#C02C7C #32C02C #2CC0BA
monochromatic
#5C153C #8E215C #C02C7C #D7529A #E384B7

Accessibility & contrast

On white

5.39
#C02C7C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C02C7C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C7C
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C7C#FFFFFF#000000##FFFFFF
##C02C7C1.005.393.895.39
#FFFFFF5.391.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597E
Deuteranopia (green-blind)
#727479
Tritanopia (blue-blind)
#CF1C50
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02c7c;
/* rgb */ color: rgb(192, 44, 124);
/* oklch */ color: oklch(55.1% 0.196 352.8);
Tailwind
colors: {
  custom: {
    50: '#d874a1',
    500: '#c02c7c',
    950: '#000000',
  },
}
SCSS
$custom: #c02c7c;
$custom-light: #d874a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c7c",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 124
  },
  "hsl": {
    "h": 327.568,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55083,
    "c": 0.19569,
    "h": 352.8
  },
  "luminance": 0.14463
}

Semantic roles & 50–950 ramp

primary
#C02C7C
secondary
#7CCCA1
accent
#E68D42
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090F
muted
#837B7E

Preview Lab

Preview with #C02C7C

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

Preview Lab → · Contrast checker → · Palette generator →

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