#C04DAA#C04DAA

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

Color values

HEX#C04DAA
RGBrgb(192, 77, 170)
HSLhsl(311, 48%, 53%)
HSVhsv(311, 60%, 75%)
CMYKcmyk(0%, 59.9%, 11.5%, 24.7%)
CIE-LABlab(51.17, 57.01, -27.55)
CIE-LCHlch(51.17, 63.32, 334.21°)
OKLaboklab(60.28% 0.1661 -0.0748)
OKLCHoklch(60.28% 0.182 335.8)
XYZxyz(31.6481, 19.4190, 40.1038)
Luminance0.1942 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04DAA #4DC063
analogous
#9C4DC0 #C04DAA #C04D71
triadic
#C04DAA #AAC04D #4DAAC0
tetradic
#C04DAA #C09C4D #4DC063 #4D71C0
square
#C04DAA #C09C4D #4DC063 #4D71C0
split-complementary
#C04DAA #71C04D #4DC09C
monochromatic
#6C265F #993687 #C04DAA #D07AC0 #E0A7D5

Accessibility & contrast

On white

4.30
#C04DAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04DAA#FFFFFF#000000##000000
##C04DAA1.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6FAD
Deuteranopia (green-blind)
#7180A7
Tritanopia (blue-blind)
#C95374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04daa;
/* rgb */ color: rgb(192, 77, 170);
/* oklch */ color: oklch(60.3% 0.182 335.8);
Tailwind
colors: {
  custom: {
    50: '#d685c3',
    500: '#c04daa',
    950: '#000000',
  },
}
SCSS
$custom: #c04daa;
$custom-light: #d685c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04daa",
  "rgb": {
    "r": 192,
    "g": 77,
    "b": 170
  },
  "hsl": {
    "h": 311.478,
    "s": 47.718,
    "l": 52.745
  },
  "oklch": {
    "l": 0.60277,
    "c": 0.18218,
    "h": 335.8
  },
  "luminance": 0.19417
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04DAA

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

Preview Lab → · Contrast checker → · Palette generator →

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