#C02C7B#C02C7B

#C02C7B is a mid, vivid pink. Relative luminance 0.144; OKLCH L 55.0% C 0.195 H 353.2°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#C02C7B
RGBrgb(192, 44, 123)
HSLhsl(328, 63%, 46%)
HSVhsv(328, 77%, 75%)
CMYKcmyk(0%, 77.1%, 35.9%, 24.7%)
CIE-LABlab(44.86, 63.15, -9.03)
CIE-LCHlch(44.86, 63.79, 351.86°)
OKLaboklab(55.05% 0.1939 -0.0231)
OKLCHoklch(55.05% 0.195 353.2)
XYZxyz(26.2157, 14.4411, 20.1419)
Luminance0.1444 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C02C7B #2CC071
analogous
#BB2CC0 #C02C7B #C02C31
triadic
#C02C7B #7BC02C #2C7BC0
tetradic
#C02C7B #C0BB2C #2CC071 #2C31C0
square
#C02C7B #C0BB2C #2CC071 #2C31C0
split-complementary
#C02C7B #31C02C #2CC0BB
monochromatic
#5C153B #8E215B #C02C7B #D75299 #E384B6

Accessibility & contrast

On white

5.40
#C02C7B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.89
#C02C7B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C02C7B
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C02C7B#FFFFFF#000000##FFFFFF
##C02C7B1.005.403.895.40
#FFFFFF5.401.0021.001.00
#0000003.8921.001.0021.00
##FFFFFF5.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#49597D
Deuteranopia (green-blind)
#737478
Tritanopia (blue-blind)
#CF1C50
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #c02c7b;
/* rgb */ color: rgb(192, 44, 123);
/* oklch */ color: oklch(55.0% 0.195 353.2);
Tailwind
colors: {
  custom: {
    50: '#d874a1',
    500: '#c02c7b',
    950: '#000000',
  },
}
SCSS
$custom: #c02c7b;
$custom-light: #d874a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c02c7b",
  "rgb": {
    "r": 192,
    "g": 44,
    "b": 123
  },
  "hsl": {
    "h": 327.973,
    "s": 62.712,
    "l": 46.275
  },
  "oklch": {
    "l": 0.55045,
    "c": 0.19523,
    "h": 353.2
  },
  "luminance": 0.14438
}

Semantic roles & 50–950 ramp

primary
#C02C7B
secondary
#7CCCA1
accent
#E68E42
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C02C7B

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

Preview Lab → · Contrast checker → · Palette generator →

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