#C04082#C04082

#C04082 is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.1% C 0.175 H 352.3°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#C04082
RGBrgb(192, 64, 130)
HSLhsl(329, 50%, 50%)
HSVhsv(329, 67%, 75%)
CMYKcmyk(0%, 66.7%, 32.3%, 24.7%)
CIE-LABlab(47.61, 56.94, -9.17)
CIE-LCHlch(47.61, 57.67, 350.85°)
OKLaboklab(57.14% 0.1737 -0.0236)
OKLCHoklch(57.14% 0.175 352.3)
XYZxyz(27.6023, 16.4880, 22.8437)
Luminance0.1648 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04082 #40C07E
analogous
#BE40C0 #C04082 #C04042
triadic
#C04082 #82C040 #4082C0
tetradic
#C04082 #C0BE40 #40C07E #4042C0
square
#C04082 #C0BE40 #40C07E #4042C0
split-complementary
#C04082 #42C040 #40C0BE
monochromatic
#642144 #923063 #C04082 #CF6EA0 #DE9CBE

Accessibility & contrast

On white

4.89
#C04082 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C04082 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C04082
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04082#FFFFFF#000000##FFFFFF
##C040821.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#546284
Deuteranopia (green-blind)
#78797F
Tritanopia (blue-blind)
#CE385B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c04082;
/* rgb */ color: rgb(192, 64, 130);
/* oklch */ color: oklch(57.1% 0.175 352.3);
Tailwind
colors: {
  custom: {
    50: '#d77da6',
    500: '#c04082',
    950: '#000000',
  },
}
SCSS
$custom: #c04082;
$custom-light: #d77da6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04082",
  "rgb": {
    "r": 192,
    "g": 64,
    "b": 130
  },
  "hsl": {
    "h": 329.063,
    "s": 50.394,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57142,
    "c": 0.17535,
    "h": 352.3
  },
  "luminance": 0.16485
}

Semantic roles & 50–950 ramp

primary
#C04082
secondary
#91CBAD
accent
#DA924E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C04082

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

Preview Lab → · Contrast checker → · Palette generator →

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