#C04DA8#C04DA8

#C04DA8 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.181 H 336.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C04DA8
RGBrgb(192, 77, 168)
HSLhsl(313, 48%, 53%)
HSVhsv(313, 60%, 75%)
CMYKcmyk(0%, 59.9%, 12.5%, 24.7%)
CIE-LABlab(51.09, 56.70, -26.51)
CIE-LCHlch(51.09, 62.59, 334.94°)
OKLaboklab(60.19% 0.1658 -0.0718)
OKLCHoklch(60.19% 0.181 336.6)
XYZxyz(31.4603, 19.3439, 39.1150)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DA8 #4DC065
analogous
#9F4DC0 #C04DA8 #C04D6E
triadic
#C04DA8 #A8C04D #4DA8C0
tetradic
#C04DA8 #C09F4D #4DC065 #4D6EC0
square
#C04DA8 #C09F4D #4DC065 #4D6EC0
split-complementary
#C04DA8 #6EC04D #4DC09F
monochromatic
#6C265E #993685 #C04DA8 #D07ABE #E0A7D4

Accessibility & contrast

On white

4.31
#C04DA8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#C04DA8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DA8
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DA8#FFFFFF#000000##000000
##C04DA81.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAB
Deuteranopia (green-blind)
#7280A5
Tritanopia (blue-blind)
#C95373
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04da8;
/* rgb */ color: rgb(192, 77, 168);
/* oklch */ color: oklch(60.2% 0.181 336.6);
Tailwind
colors: {
  custom: {
    50: '#d685c2',
    500: '#c04da8',
    950: '#000000',
  },
}
SCSS
$custom: #c04da8;
$custom-light: #d685c2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04da8",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 168
  },
  "hsl": {
    "h": 312.522,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60185,
    "c": 0.18068,
    "h": 336.6
  },
  "luminance": 0.19341
}

Semantic roles & 50–950 ramp

primary
#C04DA8
secondary
#9BCDA6
accent
#D76D50
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04DA8

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

Preview Lab → · Contrast checker → · Palette generator →

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