#C02C5E#C02C5E

#C02C5E is a mid, vivid pink. Relative luminance 0.138; OKLCH L 54.1% C 0.186 H 6.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#C02C5E
RGBrgb(192, 44, 94)
HSLhsl(340, 63%, 46%)
HSVhsv(340, 77%, 75%)
CMYKcmyk(0%, 77.1%, 51%, 24.7%)
CIE-LABlab(43.97, 60.40, 7.63)
CIE-LCHlch(43.97, 60.88, 7.20°)
OKLaboklab(54.11% 0.1845 0.0199)
OKLCHoklch(54.11% 0.186 6.2)
XYZxyz(24.6615, 13.8194, 11.9563)
Luminance0.1382 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C5E #2CC08E
analogous
#C02CA8 #C02C5E #C0442C
triadic
#C02C5E #5EC02C #2C5EC0
tetradic
#C02C5E #A8C02C #2CC08E #442CC0
square
#C02C5E #A8C02C #2CC08E #442CC0
split-complementary
#C02C5E #2CC044 #2CA8C0
monochromatic
#5C152D #8E2146 #C02C5E #D7527F #E384A4

Accessibility & contrast

On white

5.58
#C02C5E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#C02C5E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C5E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C5E#FFFFFF#000000##FFFFFF
##C02C5E1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52555F
Deuteranopia (green-blind)
#79735A
Tritanopia (blue-blind)
#D10042
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #c02c5e;
/* rgb */ color: rgb(192, 44, 94);
/* oklch */ color: oklch(54.1% 0.186 6.2);
Tailwind
colors: {
  custom: {
    50: '#d9738b',
    500: '#c02c5e',
    950: '#000000',
  },
}
SCSS
$custom: #c02c5e;
$custom-light: #d9738b;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c5e",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 94
  },
  "hsl": {
    "h": 339.73,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.54106,
    "c": 0.18554,
    "h": 6.2
  },
  "luminance": 0.13816
}

Semantic roles & 50–950 ramp

primary
#C02C5E
secondary
#7CCCB1
accent
#E6AE42
background
#FEF7F8
surface
#FCEDF0
border
#D5C8CB
text
#16090C
muted
#847B7D

Preview Lab

Preview with #C02C5E

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

Preview Lab → · Contrast checker → · Palette generator →

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