#C04072#C04072

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

Color values

HEX#C04072
RGBrgb(192, 64, 114)
HSLhsl(337, 50%, 50%)
HSVhsv(337, 67%, 75%)
CMYKcmyk(0%, 66.7%, 40.6%, 24.7%)
CIE-LABlab(47.09, 55.14, -0.21)
CIE-LCHlch(47.09, 55.14, 359.78°)
OKLaboklab(56.59% 0.1688 0.0001)
OKLCHoklch(56.59% 0.169 0)
XYZxyz(26.6107, 16.0913, 17.6209)
Luminance0.1609 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04072 #40C08E
analogous
#C040B2 #C04072 #C04E40
triadic
#C04072 #72C040 #4072C0
tetradic
#C04072 #B2C040 #40C08E #4E40C0
square
#C04072 #B2C040 #40C08E #4E40C0
split-complementary
#C04072 #40C04E #40B2C0
monochromatic
#64213B #923057 #C04072 #CF6E94 #DE9CB6

Accessibility & contrast

On white

4.98
#C04072 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#C04072 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04072
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04072#FFFFFF#000000##FFFFFF
##C040721.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596073
Deuteranopia (green-blind)
#7B796F
Tritanopia (blue-blind)
#D03154
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c04072;
/* rgb */ color: rgb(192, 64, 114);
/* oklch */ color: oklch(56.6% 0.169 0.0);
Tailwind
colors: {
  custom: {
    50: '#d87d9a',
    500: '#c04072',
    950: '#000000',
  },
}
SCSS
$custom: #c04072;
$custom-light: #d87d9a;
$custom-dark: #000000;
JSON
{
  "hex": "#c04072",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 114
  },
  "hsl": {
    "h": 336.563,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56593,
    "c": 0.16875,
    "h": 0
  },
  "luminance": 0.16088
}

Semantic roles & 50–950 ramp

primary
#C04072
secondary
#91CBB4
accent
#DAA34E
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C04072

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

Preview Lab → · Contrast checker → · Palette generator →

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