#C04C8E#C04C8E

#C04C8E is a mid, vivid pink. Relative luminance 0.183; OKLCH L 59.0% C 0.165 H 348.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C04C8E
RGBrgb(192, 76, 142)
HSLhsl(326, 48%, 53%)
HSVhsv(326, 60%, 75%)
CMYKcmyk(0%, 60.4%, 26%, 24.7%)
CIE-LABlab(49.90, 53.37, -12.94)
CIE-LCHlch(49.90, 54.92, 346.37°)
OKLaboklab(58.97% 0.1613 -0.034)
OKLCHoklch(58.97% 0.165 348.1)
XYZxyz(29.2063, 18.3312, 27.5861)
Luminance0.1833 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04C8E #4CC07E
analogous
#B84CC0 #C04C8E #C04C54
triadic
#C04C8E #8EC04C #4C8EC0
tetradic
#C04C8E #C0B84C #4CC07E #4C54C0
square
#C04C8E #C0B84C #4CC07E #4C54C0
split-complementary
#C04C8E #54C04C #4CC0B8
monochromatic
#6C264E #99366E #C04C8E #D079AB #E0A7C7

Accessibility & contrast

On white

4.50
#C04C8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.67
#C04C8E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04C8E
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04C8E#FFFFFF#000000##000000
##C04C8E1.004.504.674.67
#FFFFFF4.501.0021.0021.00
#0000004.6721.001.001.00
##0000004.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#596A90
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#CD4967
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c04c8e;
/* rgb */ color: rgb(192, 76, 142);
/* oklch */ color: oklch(59.0% 0.165 348.1);
Tailwind
colors: {
  custom: {
    50: '#d684af',
    500: '#c04c8e',
    950: '#000000',
  },
}
SCSS
$custom: #c04c8e;
$custom-light: #d684af;
$custom-dark: #000000;
JSON
{
  "hex": "#c04c8e",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 142
  },
  "hsl": {
    "h": 325.862,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.58969,
    "c": 0.16486,
    "h": 348.1
  },
  "luminance": 0.18328
}

Semantic roles & 50–950 ramp

primary
#C04C8E
secondary
#9BCDB0
accent
#D88B50
background
#FDF8FA
surface
#FBF0F4
border
#D4CBCE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04C8E

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

Preview Lab → · Contrast checker → · Palette generator →

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