#C04EA4#C04EA4

#C04EA4 is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.1% C 0.176 H 338.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C04EA4
RGBrgb(192, 78, 164)
HSLhsl(315, 48%, 53%)
HSVhsv(315, 59%, 75%)
CMYKcmyk(0%, 59.4%, 14.6%, 24.7%)
CIE-LABlab(51.08, 55.64, -24.17)
CIE-LCHlch(51.08, 60.66, 336.52°)
OKLaboklab(60.12% 0.1637 -0.0652)
OKLCHoklch(60.12% 0.176 338.3)
XYZxyz(31.1639, 19.3381, 37.2061)
Luminance0.1934 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EA4 #4EC06A
analogous
#A34EC0 #C04EA4 #C04E6B
triadic
#C04EA4 #A4C04E #4EA4C0
tetradic
#C04EA4 #C0A34E #4EC06A #4E6BC0
square
#C04EA4 #C0A34E #4EC06A #4E6BC0
split-complementary
#C04EA4 #6BC04E #4EC0A3
monochromatic
#6D275C #9A3782 #C04EA4 #D07BBB #E0A8D2

Accessibility & contrast

On white

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

On black

4.87
#C04EA4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EA4
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EA4#FFFFFF#000000##000000
##C04EA41.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA7
Deuteranopia (green-blind)
#7480A1
Tritanopia (blue-blind)
#CA5272
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ea4;
/* rgb */ color: rgb(192, 78, 164);
/* oklch */ color: oklch(60.1% 0.176 338.3);
Tailwind
colors: {
  custom: {
    50: '#d686bf',
    500: '#c04ea4',
    950: '#000000',
  },
}
SCSS
$custom: #c04ea4;
$custom-light: #d686bf;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ea4",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 164
  },
  "hsl": {
    "h": 314.737,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.17625,
    "h": 338.3
  },
  "luminance": 0.19336
}

Semantic roles & 50–950 ramp

primary
#C04EA4
secondary
#9CCEA8
accent
#D77251
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04EA4

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

Preview Lab → · Contrast checker → · Palette generator →

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