#C03178#C03178

#C03178 is a mid, vivid pink. Relative luminance 0.148; OKLCH L 55.3% C 0.189 H 355.0°. Best body text is #FFFFFF at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#C03178
RGBrgb(192, 49, 120)
HSLhsl(330, 59%, 47%)
HSVhsv(330, 74%, 75%)
CMYKcmyk(0%, 74.5%, 37.5%, 24.7%)
CIE-LABlab(45.31, 61.27, -6.52)
CIE-LCHlch(45.31, 61.61, 353.93°)
OKLaboklab(55.34% 0.1881 -0.0164)
OKLCHoklch(55.34% 0.189 355)
XYZxyz(26.2284, 14.7624, 19.2339)
Luminance0.1476 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03178 #31C079
analogous
#C031BF #C03178 #C03231
triadic
#C03178 #78C031 #3178C0
tetradic
#C03178 #BFC031 #31C079 #3231C0
square
#C03178 #BFC031 #31C079 #3231C0
split-complementary
#C03178 #31C032 #31BFC0
monochromatic
#5E183B #8F255A #C03178 #D55997 #E18AB5

Accessibility & contrast

On white

5.31
#C03178 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.95
#C03178 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03178
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03178#FFFFFF#000000##FFFFFF
##C031781.005.313.955.31
#FFFFFF5.311.0021.001.00
#0000003.9521.001.0021.00
##FFFFFF5.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5A7A
Deuteranopia (green-blind)
#757575
Tritanopia (blue-blind)
#CF2150
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c03178;
/* rgb */ color: rgb(192, 49, 120);
/* oklch */ color: oklch(55.3% 0.189 355.0);
Tailwind
colors: {
  custom: {
    50: '#d8769e',
    500: '#c03178',
    950: '#000000',
  },
}
SCSS
$custom: #c03178;
$custom-light: #d8769e;
$custom-dark: #000000;
JSON
{
  "hex": "#c03178",
  "rgb": {
    "r": 192,
    "g": 49,
    "b": 120
  },
  "hsl": {
    "h": 330.21,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.55339,
    "c": 0.18879,
    "h": 355
  },
  "luminance": 0.14759
}

Semantic roles & 50–950 ramp

primary
#C03178
secondary
#82CBA7
accent
#E39445
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#15090E
muted
#837B7E

Preview Lab

Preview with #C03178

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

Preview Lab → · Contrast checker → · Palette generator →

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