#C04781#C04781

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

Color values

HEX#C04781
RGBrgb(192, 71, 129)
HSLhsl(331, 49%, 52%)
HSVhsv(331, 63%, 75%)
CMYKcmyk(0%, 63%, 32.8%, 24.7%)
CIE-LABlab(48.64, 53.91, -7.03)
CIE-LCHlch(48.64, 54.36, 352.57°)
OKLaboklab(57.89% 0.1644 -0.0179)
OKLCHoklch(57.89% 0.165 353.8)
XYZxyz(27.9554, 17.3009, 22.6318)
Luminance0.1730 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04781 #47C086
analogous
#C047BE #C04781 #C04A47
triadic
#C04781 #81C047 #4781C0
tetradic
#C04781 #BEC047 #47C086 #4A47C0
square
#C04781 #BEC047 #47C086 #4A47C0
split-complementary
#C04781 #47C04A #47BEC0
monochromatic
#692445 #963363 #C04781 #D075A0 #DFA2BF

Accessibility & contrast

On white

4.71
#C04781 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#C04781 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04781
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04781#FFFFFF#000000##FFFFFF
##C047811.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A6683
Deuteranopia (green-blind)
#7B7C7E
Tritanopia (blue-blind)
#CE3F5E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c04781;
/* rgb */ color: rgb(192, 71, 129);
/* oklch */ color: oklch(57.9% 0.165 353.8);
Tailwind
colors: {
  custom: {
    50: '#d781a5',
    500: '#c04781',
    950: '#000000',
  },
}
SCSS
$custom: #c04781;
$custom-light: #d781a5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04781",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 129
  },
  "hsl": {
    "h": 331.24,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.5789,
    "c": 0.16535,
    "h": 353.8
  },
  "luminance": 0.17298
}

Semantic roles & 50–950 ramp

primary
#C04781
secondary
#97CCB3
accent
#D9974F
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #C04781

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

Preview Lab → · Contrast checker → · Palette generator →

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