#C04CA1#C04CA1

#C04CA1 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.8% C 0.177 H 339.4°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C04CA1
RGBrgb(192, 76, 161)
HSLhsl(316, 48%, 53%)
HSVhsv(316, 60%, 75%)
CMYKcmyk(0%, 60.4%, 16.1%, 24.7%)
CIE-LABlab(50.63, 56.07, -23.10)
CIE-LCHlch(50.63, 60.64, 337.61°)
OKLaboklab(59.75% 0.1658 -0.0622)
OKLCHoklch(59.75% 0.177 339.4)
XYZxyz(30.7563, 18.9512, 35.7494)
Luminance0.1895 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CA1 #4CC06B
analogous
#A54CC0 #C04CA1 #C04C67
triadic
#C04CA1 #A1C04C #4CA1C0
tetradic
#C04CA1 #C0A54C #4CC06B #4C67C0
square
#C04CA1 #C0A54C #4CC06B #4C67C0
split-complementary
#C04CA1 #67C04C #4CC0A5
monochromatic
#6C2659 #99367E #C04CA1 #D079B9 #E0A7D1

Accessibility & contrast

On white

4.38
#C04CA1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#C04CA1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CA1
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CA1#FFFFFF#000000##000000
##C04CA11.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#526DA4
Deuteranopia (green-blind)
#747F9E
Tritanopia (blue-blind)
#CA4F70
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c04ca1;
/* rgb */ color: rgb(192, 76, 161);
/* oklch */ color: oklch(59.8% 0.177 339.4);
Tailwind
colors: {
  custom: {
    50: '#d685bd',
    500: '#c04ca1',
    950: '#000000',
  },
}
SCSS
$custom: #c04ca1;
$custom-light: #d685bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ca1",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 161
  },
  "hsl": {
    "h": 316.034,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59752,
    "c": 0.17707,
    "h": 339.4
  },
  "luminance": 0.18949
}

Semantic roles & 50–950 ramp

primary
#C04CA1
secondary
#9BCDA8
accent
#D87450
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C04CA1

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

Preview Lab → · Contrast checker → · Palette generator →

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