#C04787#C04787

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

Color values

HEX#C04787
RGBrgb(192, 71, 135)
HSLhsl(328, 49%, 52%)
HSVhsv(328, 63%, 75%)
CMYKcmyk(0%, 63%, 29.7%, 24.7%)
CIE-LABlab(48.84, 54.65, -10.34)
CIE-LCHlch(48.84, 55.62, 349.29°)
OKLaboklab(58.11% 0.1661 -0.0268)
OKLCHoklch(58.11% 0.168 350.8)
XYZxyz(28.3659, 17.4651, 24.7942)
Luminance0.1746 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04787 #47C080
analogous
#BC47C0 #C04787 #C0474B
triadic
#C04787 #87C047 #4787C0
tetradic
#C04787 #C0BC47 #47C080 #474BC0
square
#C04787 #C0BC47 #47C080 #474BC0
split-complementary
#C04787 #4BC047 #47C0BC
monochromatic
#692448 #963368 #C04787 #D075A5 #DFA2C2

Accessibility & contrast

On white

4.67
#C04787 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04787
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04787#FFFFFF#000000##FFFFFF
##C047871.004.674.494.67
#FFFFFF4.671.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586689
Deuteranopia (green-blind)
#797C84
Tritanopia (blue-blind)
#CD4161
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c04787;
/* rgb */ color: rgb(192, 71, 135);
/* oklch */ color: oklch(58.1% 0.168 350.8);
Tailwind
colors: {
  custom: {
    50: '#d781aa',
    500: '#c04787',
    950: '#000000',
  },
}
SCSS
$custom: #c04787;
$custom-light: #d781aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c04787",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 135
  },
  "hsl": {
    "h": 328.264,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58108,
    "c": 0.16829,
    "h": 350.8
  },
  "luminance": 0.17462
}

Semantic roles & 50–950 ramp

primary
#C04787
secondary
#97CCB0
accent
#D9904F
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04787

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

Preview Lab → · Contrast checker → · Palette generator →

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