#C04EA5#C04EA5

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

Color values

HEX#C04EA5
RGBrgb(192, 78, 165)
HSLhsl(314, 48%, 53%)
HSVhsv(314, 59%, 75%)
CMYKcmyk(0%, 59.4%, 14.1%, 24.7%)
CIE-LABlab(51.12, 55.79, -24.69)
CIE-LCHlch(51.12, 61.01, 336.13°)
OKLaboklab(60.17% 0.1639 -0.0667)
OKLCHoklch(60.17% 0.177 337.9)
XYZxyz(31.2546, 19.3744, 37.6835)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EA5 #4EC069
analogous
#A24EC0 #C04EA5 #C04E6C
triadic
#C04EA5 #A5C04E #4EA5C0
tetradic
#C04EA5 #C0A24E #4EC069 #4E6CC0
square
#C04EA5 #C0A24E #4EC069 #4E6CC0
split-complementary
#C04EA5 #6CC04E #4EC0A2
monochromatic
#6D275C #9A3782 #C04EA5 #D07BBC #E0A8D3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04EA5#FFFFFF#000000##000000
##C04EA51.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)
#526FA8
Deuteranopia (green-blind)
#7480A2
Tritanopia (blue-blind)
#CA5272
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ea5;
/* rgb */ color: rgb(192, 78, 165);
/* oklch */ color: oklch(60.2% 0.177 337.9);
Tailwind
colors: {
  custom: {
    50: '#d686c0',
    500: '#c04ea5',
    950: '#000000',
  },
}
SCSS
$custom: #c04ea5;
$custom-light: #d686c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ea5",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 165
  },
  "hsl": {
    "h": 314.211,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.60169,
    "c": 0.17698,
    "h": 337.9
  },
  "luminance": 0.19372
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04EA5

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

Preview Lab → · Contrast checker → · Palette generator →

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