#C04EA6#C04EA6

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

Color values

HEX#C04EA6
RGBrgb(192, 78, 166)
HSLhsl(314, 48%, 53%)
HSVhsv(314, 59%, 75%)
CMYKcmyk(0%, 59.4%, 13.5%, 24.7%)
CIE-LABlab(51.16, 55.95, -25.21)
CIE-LCHlch(51.16, 61.37, 335.74°)
OKLaboklab(60.21% 0.1641 -0.0682)
OKLCHoklch(60.21% 0.178 337.4)
XYZxyz(31.3460, 19.4109, 38.1648)
Luminance0.1941 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EA6 #4EC068
analogous
#A14EC0 #C04EA6 #C04E6D
triadic
#C04EA6 #A6C04E #4EA6C0
tetradic
#C04EA6 #C0A14E #4EC068 #4E6DC0
square
#C04EA6 #C0A14E #4EC068 #4E6DC0
split-complementary
#C04EA6 #6DC04E #4EC0A1
monochromatic
#6D275D #9A3783 #C04EA6 #D07BBD #E0A8D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04EA6#FFFFFF#000000##000000
##C04EA61.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)
#516FA9
Deuteranopia (green-blind)
#7380A3
Tritanopia (blue-blind)
#CA5373
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ea6;
/* rgb */ color: rgb(192, 78, 166);
/* oklch */ color: oklch(60.2% 0.178 337.4);
Tailwind
colors: {
  custom: {
    50: '#d686c0',
    500: '#c04ea6',
    950: '#000000',
  },
}
SCSS
$custom: #c04ea6;
$custom-light: #d686c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ea6",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 166
  },
  "hsl": {
    "h": 313.684,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60214,
    "c": 0.17771,
    "h": 337.4
  },
  "luminance": 0.19408
}

Semantic roles & 50–950 ramp

primary
#C04EA6
secondary
#9CCEA7
accent
#D76F51
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04EA6

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

Preview Lab → · Contrast checker → · Palette generator →

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