#C02C7D#C02C7D

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

Color values

HEX#C02C7D
RGBrgb(192, 44, 125)
HSLhsl(327, 63%, 46%)
HSVhsv(327, 77%, 75%)
CMYKcmyk(0%, 77.1%, 34.9%, 24.7%)
CIE-LABlab(44.93, 63.36, -10.15)
CIE-LCHlch(44.93, 64.17, 350.90°)
OKLaboklab(55.12% 0.1944 -0.0261)
OKLCHoklch(55.12% 0.196 352.3)
XYZxyz(26.3422, 14.4917, 20.8080)
Luminance0.1449 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C7D #2CC06F
analogous
#B92CC0 #C02C7D #C02C33
triadic
#C02C7D #7DC02C #2C7DC0
tetradic
#C02C7D #C0B92C #2CC06F #2C33C0
square
#C02C7D #C0B92C #2CC06F #2C33C0
split-complementary
#C02C7D #33C02C #2CC0B9
monochromatic
#5C153C #8E215D #C02C7D #D7529B #E384B8

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C02C7D#FFFFFF#000000##FFFFFF
##C02C7D1.005.393.905.39
#FFFFFF5.391.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#48597F
Deuteranopia (green-blind)
#72747A
Tritanopia (blue-blind)
#CF1D51
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02c7d;
/* rgb */ color: rgb(192, 44, 125);
/* oklch */ color: oklch(55.1% 0.196 352.3);
Tailwind
colors: {
  custom: {
    50: '#d874a2',
    500: '#c02c7d',
    950: '#000000',
  },
}
SCSS
$custom: #c02c7d;
$custom-light: #d874a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c7d",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 125
  },
  "hsl": {
    "h": 327.162,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.5512,
    "c": 0.19615,
    "h": 352.3
  },
  "luminance": 0.14489
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02C7D

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

Preview Lab → · Contrast checker → · Palette generator →

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