#C04DA5#C04DA5

#C04DA5 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.178 H 337.8°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C04DA5
RGBrgb(192, 77, 165)
HSLhsl(314, 48%, 53%)
HSVhsv(314, 60%, 75%)
CMYKcmyk(0%, 59.9%, 14.1%, 24.7%)
CIE-LABlab(50.96, 56.24, -24.94)
CIE-LCHlch(50.96, 61.52, 336.08°)
OKLaboklab(60.05% 0.1652 -0.0674)
OKLCHoklch(60.05% 0.178 337.8)
XYZxyz(31.1841, 19.2334, 37.6600)
Luminance0.1923 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DA5 #4DC068
analogous
#A14DC0 #C04DA5 #C04D6B
triadic
#C04DA5 #A5C04D #4DA5C0
tetradic
#C04DA5 #C0A14D #4DC068 #4D6BC0
square
#C04DA5 #C0A14D #4DC068 #4D6BC0
split-complementary
#C04DA5 #6BC04D #4DC0A1
monochromatic
#6C265C #993682 #C04DA5 #D07ABC #E0A7D3

Accessibility & contrast

On white

4.33
#C04DA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#C04DA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04DA5
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04DA5#FFFFFF#000000##000000
##C04DA51.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#516EA8
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#CA5172
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04da5;
/* rgb */ color: rgb(192, 77, 165);
/* oklch */ color: oklch(60.0% 0.178 337.8);
Tailwind
colors: {
  custom: {
    50: '#d685c0',
    500: '#c04da5',
    950: '#000000',
  },
}
SCSS
$custom: #c04da5;
$custom-light: #d685c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04da5",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 165
  },
  "hsl": {
    "h": 314.087,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60049,
    "c": 0.17846,
    "h": 337.8
  },
  "luminance": 0.19231
}

Semantic roles & 50–950 ramp

primary
#C04DA5
secondary
#9BCDA7
accent
#D77050
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C04DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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