#C02C8F#C02C8F

#C02C8F is a mid, highly saturated pink. Relative luminance 0.150; OKLCH L 55.9% C 0.206 H 344.9°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#C02C8F
RGBrgb(192, 44, 143)
HSLhsl(320, 63%, 46%)
HSVhsv(320, 77%, 75%)
CMYKcmyk(0%, 77.1%, 25.5%, 24.7%)
CIE-LABlab(45.63, 65.46, -20.05)
CIE-LCHlch(45.63, 68.47, 342.97°)
OKLaboklab(55.85% 0.1984 -0.0534)
OKLCHoklch(55.85% 0.206 344.9)
XYZxyz(27.5980, 14.9940, 27.4220)
Luminance0.1499 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C8F #2CC05D
analogous
#A72CC0 #C02C8F #C02C45
triadic
#C02C8F #8FC02C #2C8FC0
tetradic
#C02C8F #C0A72C #2CC05D #2C45C0
square
#C02C8F #C0A72C #2CC05D #2C45C0
split-complementary
#C02C8F #45C02C #2CC0A7
monochromatic
#5C1545 #8E216A #C02C8F #D752AB #E384C3

Accessibility & contrast

On white

5.25
#C02C8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.00
#C02C8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C8F
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C8F#FFFFFF#000000##FFFFFF
##C02C8F1.005.254.005.25
#FFFFFF5.251.0021.001.00
#0000004.0021.001.0021.00
##FFFFFF5.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#405C92
Deuteranopia (green-blind)
#6D758C
Tritanopia (blue-blind)
#CD295A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c02c8f;
/* rgb */ color: rgb(192, 44, 143);
/* oklch */ color: oklch(55.9% 0.206 344.9);
Tailwind
colors: {
  custom: {
    50: '#d775b0',
    500: '#c02c8f',
    950: '#000000',
  },
}
SCSS
$custom: #c02c8f;
$custom-light: #d775b0;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c8f",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 143
  },
  "hsl": {
    "h": 319.865,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55854,
    "c": 0.20551,
    "h": 344.9
  },
  "luminance": 0.14991
}

Semantic roles & 50–950 ramp

primary
#C02C8F
secondary
#7CCC96
accent
#E67842
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150910
muted
#837B7F

Preview Lab

Preview with #C02C8F

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

Preview Lab → · Contrast checker → · Palette generator →

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