#C02C7E#C02C7E

#C02C7E is a mid, vivid pink. Relative luminance 0.145; OKLCH L 55.2% C 0.197 H 351.9°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#C02C7E
RGBrgb(192, 44, 126)
HSLhsl(327, 63%, 46%)
HSVhsv(327, 77%, 75%)
CMYKcmyk(0%, 77.1%, 34.4%, 24.7%)
CIE-LABlab(44.97, 63.47, -10.71)
CIE-LCHlch(44.97, 64.37, 350.42°)
OKLaboklab(55.16% 0.1947 -0.0277)
OKLCHoklch(55.16% 0.197 351.9)
XYZxyz(26.4064, 14.5174, 21.1462)
Luminance0.1451 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C7E #2CC06E
analogous
#B82CC0 #C02C7E #C02C34
triadic
#C02C7E #7EC02C #2C7EC0
tetradic
#C02C7E #C0B82C #2CC06E #2C34C0
square
#C02C7E #C0B82C #2CC06E #2C34C0
split-complementary
#C02C7E #34C02C #2CC0B8
monochromatic
#5C153D #8E215D #C02C7E #D7529C #E384B8

Accessibility & contrast

On white

5.38
#C02C7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#C02C7E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C7E
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C7E#FFFFFF#000000##FFFFFF
##C02C7E1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#485980
Deuteranopia (green-blind)
#72747B
Tritanopia (blue-blind)
#CF1E51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02c7e;
/* rgb */ color: rgb(192, 44, 126);
/* oklch */ color: oklch(55.2% 0.197 351.9);
Tailwind
colors: {
  custom: {
    50: '#d874a3',
    500: '#c02c7e',
    950: '#000000',
  },
}
SCSS
$custom: #c02c7e;
$custom-light: #d874a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c7e",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 126
  },
  "hsl": {
    "h": 326.757,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55158,
    "c": 0.19662,
    "h": 351.9
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#C02C7E
secondary
#7CCCA0
accent
#E68B42
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#15090F
muted
#837B7F

Preview Lab

Preview with #C02C7E

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

Preview Lab → · Contrast checker → · Palette generator →

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