#C04786#C04786

#C04786 is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.1% C 0.168 H 351.3°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C04786
RGBrgb(192, 71, 134)
HSLhsl(329, 49%, 52%)
HSVhsv(329, 63%, 75%)
CMYKcmyk(0%, 63%, 30.2%, 24.7%)
CIE-LABlab(48.81, 54.52, -9.79)
CIE-LCHlch(48.81, 55.40, 349.82°)
OKLaboklab(58.07% 0.1659 -0.0253)
OKLCHoklch(58.07% 0.168 351.3)
XYZxyz(28.2959, 17.4371, 24.4252)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04786 #47C081
analogous
#BE47C0 #C04786 #C0474A
triadic
#C04786 #86C047 #4786C0
tetradic
#C04786 #C0BE47 #47C081 #474AC0
square
#C04786 #C0BE47 #47C081 #474AC0
split-complementary
#C04786 #4AC047 #47C0BE
monochromatic
#692448 #963367 #C04786 #D075A4 #DFA2C2

Accessibility & contrast

On white

4.68
#C04786 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C04786 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04786
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04786#FFFFFF#000000##FFFFFF
##C047861.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586688
Deuteranopia (green-blind)
#7A7C83
Tritanopia (blue-blind)
#CE4161
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c04786;
/* rgb */ color: rgb(192, 71, 134);
/* oklch */ color: oklch(58.1% 0.168 351.3);
Tailwind
colors: {
  custom: {
    50: '#d781a9',
    500: '#c04786',
    950: '#000000',
  },
}
SCSS
$custom: #c04786;
$custom-light: #d781a9;
$custom-dark: #000000;
JSON
{
  "hex": "#c04786",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 134
  },
  "hsl": {
    "h": 328.76,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58071,
    "c": 0.16777,
    "h": 351.3
  },
  "luminance": 0.17434
}

Semantic roles & 50–950 ramp

primary
#C04786
secondary
#97CCB0
accent
#D9914F
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #C04786

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

Preview Lab → · Contrast checker → · Palette generator →

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