#C04087#C04087

#C04087 is a mid, vivid pink. Relative luminance 0.166; OKLCH L 57.3% C 0.178 H 349.9°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C04087
RGBrgb(192, 64, 135)
HSLhsl(327, 50%, 50%)
HSVhsv(327, 67%, 75%)
CMYKcmyk(0%, 66.7%, 29.7%, 24.7%)
CIE-LABlab(47.78, 57.55, -11.93)
CIE-LCHlch(47.78, 58.77, 348.29°)
OKLaboklab(57.33% 0.1751 -0.0311)
OKLCHoklch(57.33% 0.178 349.9)
XYZxyz(27.9461, 16.6255, 24.6543)
Luminance0.1662 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04087 #40C079
analogous
#B940C0 #C04087 #C04047
triadic
#C04087 #87C040 #4087C0
tetradic
#C04087 #C0B940 #40C079 #4047C0
square
#C04087 #C0B940 #40C079 #4047C0
split-complementary
#C04087 #47C040 #40C0B9
monochromatic
#642146 #923067 #C04087 #CF6EA4 #DE9CC1

Accessibility & contrast

On white

4.86
#C04087 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#C04087 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04087
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04087#FFFFFF#000000##FFFFFF
##C040871.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526389
Deuteranopia (green-blind)
#767A84
Tritanopia (blue-blind)
#CE3A5E
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c04087;
/* rgb */ color: rgb(192, 64, 135);
/* oklch */ color: oklch(57.3% 0.178 349.9);
Tailwind
colors: {
  custom: {
    50: '#d77eaa',
    500: '#c04087',
    950: '#000000',
  },
}
SCSS
$custom: #c04087;
$custom-light: #d77eaa;
$custom-dark: #000000;
JSON
{
  "hex": "#c04087",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 135
  },
  "hsl": {
    "h": 326.719,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57329,
    "c": 0.17787,
    "h": 349.9
  },
  "luminance": 0.16623
}

Semantic roles & 50–950 ramp

primary
#C04087
secondary
#91CBAB
accent
#DA8C4E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C04087

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

Preview Lab → · Contrast checker → · Palette generator →

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