#C04DA9#C04DA9

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

Color values

HEX#C04DA9
RGBrgb(192, 77, 169)
HSLhsl(312, 48%, 53%)
HSVhsv(312, 60%, 75%)
CMYKcmyk(0%, 59.9%, 12%, 24.7%)
CIE-LABlab(51.13, 56.86, -27.03)
CIE-LCHlch(51.13, 62.95, 334.58°)
OKLaboklab(60.23% 0.166 -0.0733)
OKLCHoklch(60.23% 0.181 336.2)
XYZxyz(31.5539, 19.3813, 39.6075)
Luminance0.1938 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DA9 #4DC064
analogous
#9D4DC0 #C04DA9 #C04D6F
triadic
#C04DA9 #A9C04D #4DA9C0
tetradic
#C04DA9 #C09D4D #4DC064 #4D6FC0
square
#C04DA9 #C09D4D #4DC064 #4D6FC0
split-complementary
#C04DA9 #6FC04D #4DC09D
monochromatic
#6C265E #993686 #C04DA9 #D07ABF #E0A7D5

Accessibility & contrast

On white

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

On black

4.88
#C04DA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DA9
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DA9#FFFFFF#000000##000000
##C04DA91.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAC
Deuteranopia (green-blind)
#7280A6
Tritanopia (blue-blind)
#C95374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04da9;
/* rgb */ color: rgb(192, 77, 169);
/* oklch */ color: oklch(60.2% 0.181 336.2);
Tailwind
colors: {
  custom: {
    50: '#d685c3',
    500: '#c04da9',
    950: '#000000',
  },
}
SCSS
$custom: #c04da9;
$custom-light: #d685c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04da9",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 169
  },
  "hsl": {
    "h": 312,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60231,
    "c": 0.18143,
    "h": 336.2
  },
  "luminance": 0.19379
}

Semantic roles & 50–950 ramp

primary
#C04DA9
secondary
#9BCDA5
accent
#D76B50
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04DA9

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

Preview Lab → · Contrast checker → · Palette generator →

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