#C02C9E#C02C9E

#C02C9E is a mid, highly saturated pink. Relative luminance 0.155; OKLCH L 56.5% C 0.215 H 339.3°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C02C9E
RGBrgb(192, 44, 158)
HSLhsl(314, 63%, 46%)
HSVhsv(314, 77%, 75%)
CMYKcmyk(0%, 77.1%, 17.7%, 24.7%)
CIE-LABlab(46.28, 67.41, -28.05)
CIE-LCHlch(46.28, 73.01, 337.41°)
OKLaboklab(56.54% 0.2007 -0.0759)
OKLCHoklch(56.54% 0.215 339.3)
XYZxyz(28.8112, 15.4793, 33.8116)
Luminance0.1548 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C9E #2CC04E
analogous
#982CC0 #C02C9E #C02C54
triadic
#C02C9E #9EC02C #2C9EC0
tetradic
#C02C9E #C0982C #2CC04E #2C54C0
square
#C02C9E #C0982C #2CC04E #2C54C0
split-complementary
#C02C9E #54C02C #2CC098
monochromatic
#5C154C #8E2175 #C02C9E #D752B9 #E384CD

Accessibility & contrast

On white

5.13
#C02C9E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C02C9E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C9E
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C9E#FFFFFF#000000##FFFFFF
##C02C9E1.005.134.105.13
#FFFFFF5.131.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365FA1
Deuteranopia (green-blind)
#68769B
Tritanopia (blue-blind)
#CB3363
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02c9e;
/* rgb */ color: rgb(192, 44, 158);
/* oklch */ color: oklch(56.5% 0.215 339.3);
Tailwind
colors: {
  custom: {
    50: '#d775bb',
    500: '#c02c9e',
    950: '#000000',
  },
}
SCSS
$custom: #c02c9e;
$custom-light: #d775bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c9e",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 158
  },
  "hsl": {
    "h": 313.784,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56544,
    "c": 0.2146,
    "h": 339.3
  },
  "luminance": 0.15476
}

Semantic roles & 50–950 ramp

primary
#C02C9E
secondary
#7CCC8E
accent
#E66842
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C02C9E

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

Preview Lab → · Contrast checker → · Palette generator →

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