#C04CA5#C04CA5

#C04CA5 is a mid, vivid pink. Relative luminance 0.191; OKLCH L 59.9% C 0.180 H 337.8°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C04CA5
RGBrgb(192, 76, 165)
HSLhsl(314, 48%, 53%)
HSVhsv(314, 60%, 75%)
CMYKcmyk(0%, 60.4%, 14.1%, 24.7%)
CIE-LABlab(50.80, 56.68, -25.19)
CIE-LCHlch(50.80, 62.02, 336.03°)
OKLaboklab(59.93% 0.1666 -0.0681)
OKLCHoklch(59.93% 0.18 337.8)
XYZxyz(31.1146, 19.0945, 37.6369)
Luminance0.1909 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CA5 #4CC067
analogous
#A14CC0 #C04CA5 #C04C6B
triadic
#C04CA5 #A5C04C #4CA5C0
tetradic
#C04CA5 #C0A14C #4CC067 #4C6BC0
square
#C04CA5 #C0A14C #4CC067 #4C6BC0
split-complementary
#C04CA5 #6BC04C #4CC0A1
monochromatic
#6C265B #993682 #C04CA5 #D079BC #E0A7D3

Accessibility & contrast

On white

4.36
#C04CA5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#C04CA5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CA5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CA5#FFFFFF#000000##000000
##C04CA51.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#506EA8
Deuteranopia (green-blind)
#7380A2
Tritanopia (blue-blind)
#CA5172
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04ca5;
/* rgb */ color: rgb(192, 76, 165);
/* oklch */ color: oklch(59.9% 0.180 337.8);
Tailwind
colors: {
  custom: {
    50: '#d685c0',
    500: '#c04ca5',
    950: '#000000',
  },
}
SCSS
$custom: #c04ca5;
$custom-light: #d685c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ca5",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 165
  },
  "hsl": {
    "h": 313.966,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5993,
    "c": 0.17993,
    "h": 337.8
  },
  "luminance": 0.19092
}

Semantic roles & 50–950 ramp

primary
#C04CA5
secondary
#9BCDA6
accent
#D87050
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C04CA5

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

Preview Lab → · Contrast checker → · Palette generator →

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