#C04782#C04782

#C04782 is a mid, vivid pink. Relative luminance 0.173; OKLCH L 57.9% C 0.166 H 353.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C04782
RGBrgb(192, 71, 130)
HSLhsl(331, 49%, 52%)
HSVhsv(331, 63%, 75%)
CMYKcmyk(0%, 63%, 32.3%, 24.7%)
CIE-LABlab(48.67, 54.03, -7.58)
CIE-LCHlch(48.67, 54.56, 352.01°)
OKLaboklab(57.93% 0.1647 -0.0194)
OKLCHoklch(57.93% 0.166 353.3)
XYZxyz(28.0222, 17.3276, 22.9836)
Luminance0.1732 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04782 #47C085
analogous
#C047BF #C04782 #C04947
triadic
#C04782 #82C047 #4782C0
tetradic
#C04782 #BFC047 #47C085 #4947C0
square
#C04782 #BFC047 #47C085 #4947C0
split-complementary
#C04782 #47C049 #47BFC0
monochromatic
#692445 #963364 #C04782 #D075A1 #DFA2C0

Accessibility & contrast

On white

4.70
#C04782 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C04782 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04782
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04782#FFFFFF#000000##FFFFFF
##C047821.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596684
Deuteranopia (green-blind)
#7B7C7F
Tritanopia (blue-blind)
#CE3F5F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c04782;
/* rgb */ color: rgb(192, 71, 130);
/* oklch */ color: oklch(57.9% 0.166 353.3);
Tailwind
colors: {
  custom: {
    50: '#d781a6',
    500: '#c04782',
    950: '#000000',
  },
}
SCSS
$custom: #c04782;
$custom-light: #d781a6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04782",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 130
  },
  "hsl": {
    "h": 330.744,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.57926,
    "c": 0.16582,
    "h": 353.3
  },
  "luminance": 0.17325
}

Semantic roles & 50–950 ramp

primary
#C04782
secondary
#97CCB2
accent
#D9964F
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #C04782

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

Preview Lab → · Contrast checker → · Palette generator →

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