#C04278#C04278

#C04278 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.0% C 0.168 H 357.4°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C04278
RGBrgb(192, 66, 120)
HSLhsl(334, 50%, 51%)
HSVhsv(334, 66%, 75%)
CMYKcmyk(0%, 65.6%, 37.5%, 24.7%)
CIE-LABlab(47.58, 54.97, -3.15)
CIE-LCHlch(47.58, 55.06, 356.72°)
OKLaboklab(57.01% 0.1682 -0.0076)
OKLCHoklch(57.01% 0.168 357.4)
XYZxyz(27.0783, 16.4621, 19.5172)
Luminance0.1646 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04278 #42C08A
analogous
#C042B7 #C04278 #C04B42
triadic
#C04278 #78C042 #4278C0
tetradic
#C04278 #B7C042 #42C08A #4B42C0
square
#C04278 #B7C042 #42C08A #4B42C0
split-complementary
#C04278 #42C04B #42B7C0
monochromatic
#66223F #94315B #C04278 #CF7099 #DF9EBA

Accessibility & contrast

On white

4.89
#C04278 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#C04278 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04278
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04278#FFFFFF#000000##FFFFFF
##C042781.004.894.294.89
#FFFFFF4.891.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59627A
Deuteranopia (green-blind)
#7B7A75
Tritanopia (blue-blind)
#CF3658
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c04278;
/* rgb */ color: rgb(192, 66, 120);
/* oklch */ color: oklch(57.0% 0.168 357.4);
Tailwind
colors: {
  custom: {
    50: '#d77e9e',
    500: '#c04278',
    950: '#000000',
  },
}
SCSS
$custom: #c04278;
$custom-light: #d77e9e;
$custom-dark: #000000;
JSON
{
  "hex": "#c04278",
  "rgb": {
    "r": 192,
    "g": 66,
    "b": 120
  },
  "hsl": {
    "h": 334.286,
    "s": 50,
    "l": 50.588
  },
  "oklch": {
    "l": 0.57009,
    "c": 0.16833,
    "h": 357.4
  },
  "luminance": 0.16459
}

Semantic roles & 50–950 ramp

primary
#C04278
secondary
#93CBB3
accent
#DA9E4E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04278

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

Preview Lab → · Contrast checker → · Palette generator →

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