#C03878#C03878

#C03878 is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.181 H 355.9°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C03878
RGBrgb(192, 56, 120)
HSLhsl(332, 55%, 49%)
HSVhsv(332, 71%, 75%)
CMYKcmyk(0%, 70.8%, 37.5%, 24.7%)
CIE-LABlab(46.17, 58.85, -5.23)
CIE-LCHlch(46.17, 59.09, 354.92°)
OKLaboklab(55.97% 0.1804 -0.013)
OKLCHoklch(55.97% 0.181 355.9)
XYZxyz(26.5443, 15.3941, 19.3392)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03878 #38C080
analogous
#C038BC #C03878 #C03C38
triadic
#C03878 #78C038 #3878C0
tetradic
#C03878 #BCC038 #38C080 #3C38C0
square
#C03878 #BCC038 #38C080 #3C38C0
split-complementary
#C03878 #38C03C #38BCC0
monochromatic
#611C3D #912A5A #C03878 #D26497 #DF93B7

Accessibility & contrast

On white

5.15
#C03878 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C03878 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03878
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03878#FFFFFF#000000##FFFFFF
##C038781.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525D7A
Deuteranopia (green-blind)
#777775
Tritanopia (blue-blind)
#CF2A53
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c03878;
/* rgb */ color: rgb(192, 56, 120);
/* oklch */ color: oklch(56.0% 0.181 355.9);
Tailwind
colors: {
  custom: {
    50: '#d8799e',
    500: '#c03878',
    950: '#000000',
  },
}
SCSS
$custom: #c03878;
$custom-light: #d8799e;
$custom-dark: #000000;
JSON
{
  "hex": "#c03878",
  "rgb": {
    "r": 192,
    "g": 56,
    "b": 120
  },
  "hsl": {
    "h": 331.765,
    "s": 54.839,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55972,
    "c": 0.18088,
    "h": 355.9
  },
  "luminance": 0.15391
}

Semantic roles & 50–950 ramp

primary
#C03878
secondary
#89CBAC
accent
#DE984A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C03878

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

Preview Lab → · Contrast checker → · Palette generator →

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