#C02C9F#C02C9F

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

Color values

HEX#C02C9F
RGBrgb(192, 44, 159)
HSLhsl(313, 63%, 46%)
HSVhsv(313, 77%, 75%)
CMYKcmyk(0%, 77.1%, 17.2%, 24.7%)
CIE-LABlab(46.33, 67.55, -28.57)
CIE-LCHlch(46.33, 73.34, 337.07°)
OKLaboklab(56.59% 0.2008 -0.0774)
OKLCHoklch(56.59% 0.215 338.9)
XYZxyz(28.8977, 15.5139, 34.2668)
Luminance0.1551 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C9F #2CC04D
analogous
#972CC0 #C02C9F #C02C55
triadic
#C02C9F #9FC02C #2C9FC0
tetradic
#C02C9F #C0972C #2CC04D #2C55C0
square
#C02C9F #C0972C #2CC04D #2C55C0
split-complementary
#C02C9F #55C02C #2CC097
monochromatic
#5C154D #8E2176 #C02C9F #D752BA #E384CE

Accessibility & contrast

On white

5.12
#C02C9F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C02C9F
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C9F#FFFFFF#000000##FFFFFF
##C02C9F1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355FA2
Deuteranopia (green-blind)
#67769C
Tritanopia (blue-blind)
#CB3363
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c02c9f;
/* rgb */ color: rgb(192, 44, 159);
/* oklch */ color: oklch(56.6% 0.215 338.9);
Tailwind
colors: {
  custom: {
    50: '#d775bb',
    500: '#c02c9f',
    950: '#000000',
  },
}
SCSS
$custom: #c02c9f;
$custom-light: #d775bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c9f",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 159
  },
  "hsl": {
    "h": 313.378,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.56593,
    "c": 0.21524,
    "h": 338.9
  },
  "luminance": 0.15511
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C02C9F

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

Preview Lab → · Contrast checker → · Palette generator →

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