#C02C9C#C02C9C

#C02C9C is a mid, highly saturated pink. Relative luminance 0.154; OKLCH L 56.4% C 0.213 H 340.0°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C02C9C
RGBrgb(192, 44, 156)
HSLhsl(315, 63%, 46%)
HSVhsv(315, 77%, 75%)
CMYKcmyk(0%, 77.1%, 18.7%, 24.7%)
CIE-LABlab(46.19, 67.14, -27.00)
CIE-LCHlch(46.19, 72.37, 338.10°)
OKLaboklab(56.45% 0.2005 -0.0729)
OKLCHoklch(56.45% 0.213 340)
XYZxyz(28.6405, 15.4110, 32.9123)
Luminance0.1541 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C9C #2CC050
analogous
#9A2CC0 #C02C9C #C02C52
triadic
#C02C9C #9CC02C #2C9CC0
tetradic
#C02C9C #C09A2C #2CC050 #2C52C0
square
#C02C9C #C09A2C #2CC050 #2C52C0
split-complementary
#C02C9C #52C02C #2CC09A
monochromatic
#5C154B #8E2174 #C02C9C #D752B7 #E384CC

Accessibility & contrast

On white

5.15
#C02C9C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C02C9C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C9C
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C9C#FFFFFF#000000##FFFFFF
##C02C9C1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375E9F
Deuteranopia (green-blind)
#687699
Tritanopia (blue-blind)
#CB3162
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c02c9c;
/* rgb */ color: rgb(192, 44, 156);
/* oklch */ color: oklch(56.4% 0.213 340.0);
Tailwind
colors: {
  custom: {
    50: '#d775b9',
    500: '#c02c9c',
    950: '#000000',
  },
}
SCSS
$custom: #c02c9c;
$custom-light: #d775b9;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c9c",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 156
  },
  "hsl": {
    "h": 314.595,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56448,
    "c": 0.21333,
    "h": 340
  },
  "luminance": 0.15408
}

Semantic roles & 50–950 ramp

primary
#C02C9C
secondary
#7CCC8F
accent
#E66A42
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150911
muted
#837B80

Preview Lab

Preview with #C02C9C

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

Preview Lab → · Contrast checker → · Palette generator →

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