#C04EA3#C04EA3

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

Color values

HEX#C04EA3
RGBrgb(192, 78, 163)
HSLhsl(315, 48%, 53%)
HSVhsv(315, 59%, 75%)
CMYKcmyk(0%, 59.4%, 15.1%, 24.7%)
CIE-LABlab(51.04, 55.49, -23.64)
CIE-LCHlch(51.04, 60.31, 336.92°)
OKLaboklab(60.08% 0.1635 -0.0637)
OKLCHoklch(60.08% 0.176 338.7)
XYZxyz(31.0740, 19.3022, 36.7323)
Luminance0.1930 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04EA3 #4EC06B
analogous
#A44EC0 #C04EA3 #C04E6A
triadic
#C04EA3 #A3C04E #4EA3C0
tetradic
#C04EA3 #C0A44E #4EC06B #4E6AC0
square
#C04EA3 #C0A44E #4EC06B #4E6AC0
split-complementary
#C04EA3 #6AC04E #4EC0A4
monochromatic
#6D275B #9A3781 #C04EA3 #D07BBA #E0A8D2

Accessibility & contrast

On white

4.32
#C04EA3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C04EA3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04EA3
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04EA3#FFFFFF#000000##000000
##C04EA31.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#526EA6
Deuteranopia (green-blind)
#7480A0
Tritanopia (blue-blind)
#CA5271
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04ea3;
/* rgb */ color: rgb(192, 78, 163);
/* oklch */ color: oklch(60.1% 0.176 338.7);
Tailwind
colors: {
  custom: {
    50: '#d686be',
    500: '#c04ea3',
    950: '#000000',
  },
}
SCSS
$custom: #c04ea3;
$custom-light: #d686be;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ea3",
  "rgb": {
    "r": 192,
    "g": 78,
    "b": 163
  },
  "hsl": {
    "h": 315.263,
    "s": 47.5,
    "l": 52.941
  },
  "oklch": {
    "l": 0.6008,
    "c": 0.17553,
    "h": 338.7
  },
  "luminance": 0.193
}

Semantic roles & 50–950 ramp

primary
#C04EA3
secondary
#9CCEA9
accent
#D77351
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04EA3

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

Preview Lab → · Contrast checker → · Palette generator →

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