#C04074#C04074

#C04074 is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.7% C 0.169 H 359.0°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C04074
RGBrgb(192, 64, 116)
HSLhsl(336, 50%, 50%)
HSVhsv(336, 67%, 75%)
CMYKcmyk(0%, 66.7%, 39.6%, 24.7%)
CIE-LABlab(47.15, 55.35, -1.34)
CIE-LCHlch(47.15, 55.37, 358.61°)
OKLaboklab(56.66% 0.1694 -0.0028)
OKLCHoklch(56.66% 0.169 359)
XYZxyz(26.7258, 16.1374, 18.2270)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04074 #40C08C
analogous
#C040B4 #C04074 #C04C40
triadic
#C04074 #74C040 #4074C0
tetradic
#C04074 #B4C040 #40C08C #4C40C0
square
#C04074 #B4C040 #40C08C #4C40C0
split-complementary
#C04074 #40C04C #40B4C0
monochromatic
#64213C #923058 #C04074 #CF6E95 #DE9CB7

Accessibility & contrast

On white

4.97
#C04074 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C04074 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04074
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04074#FFFFFF#000000##FFFFFF
##C040741.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586075
Deuteranopia (green-blind)
#7B7971
Tritanopia (blue-blind)
#CF3255
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04074;
/* rgb */ color: rgb(192, 64, 116);
/* oklch */ color: oklch(56.7% 0.169 359.0);
Tailwind
colors: {
  custom: {
    50: '#d87d9b',
    500: '#c04074',
    950: '#000000',
  },
}
SCSS
$custom: #c04074;
$custom-light: #d87d9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c04074",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 116
  },
  "hsl": {
    "h": 335.625,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56658,
    "c": 0.16944,
    "h": 359
  },
  "luminance": 0.16134
}

Semantic roles & 50–950 ramp

primary
#C04074
secondary
#91CBB3
accent
#DAA14E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04074

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

Preview Lab → · Contrast checker → · Palette generator →

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