#C04EAA#C04EAA

#C04EAA is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.4% C 0.181 H 335.8°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C04EAA
RGBrgb(192, 78, 170)
HSLhsl(312, 48%, 53%)
HSVhsv(312, 59%, 75%)
CMYKcmyk(0%, 59.4%, 11.5%, 24.7%)
CIE-LABlab(51.34, 56.57, -27.29)
CIE-LCHlch(51.34, 62.81, 334.24°)
OKLaboklab(60.4% 0.1648 -0.0741)
OKLCHoklch(60.4% 0.181 335.8)
XYZxyz(31.7186, 19.5600, 40.1273)
Luminance0.1956 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EAA #4EC064
analogous
#9D4EC0 #C04EAA #C04E71
triadic
#C04EAA #AAC04E #4EAAC0
tetradic
#C04EAA #C09D4E #4EC064 #4E71C0
square
#C04EAA #C09D4E #4EC064 #4E71C0
split-complementary
#C04EAA #71C04E #4EC09D
monochromatic
#6D275F #9A3787 #C04EAA #D07BC0 #E0A8D5

Accessibility & contrast

On white

4.28
#C04EAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C04EAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EAA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EAA#FFFFFF#000000##000000
##C04EAA1.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6FAD
Deuteranopia (green-blind)
#7281A7
Tritanopia (blue-blind)
#C95475
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04eaa;
/* rgb */ color: rgb(192, 78, 170);
/* oklch */ color: oklch(60.4% 0.181 335.8);
Tailwind
colors: {
  custom: {
    50: '#d686c3',
    500: '#c04eaa',
    950: '#000000',
  },
}
SCSS
$custom: #c04eaa;
$custom-light: #d686c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04eaa",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 170
  },
  "hsl": {
    "h": 311.579,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60396,
    "c": 0.18071,
    "h": 335.8
  },
  "luminance": 0.19558
}

Semantic roles & 50–950 ramp

primary
#C04EAA
secondary
#9CCEA6
accent
#D76B51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04EAA

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

Preview Lab → · Contrast checker → · Palette generator →

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