#C04CA7#C04CA7

#C04CA7 is a mid, vivid pink. Relative luminance 0.192; OKLCH L 60.0% C 0.181 H 336.9°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C04CA7
RGBrgb(192, 76, 167)
HSLhsl(313, 48%, 53%)
HSVhsv(313, 60%, 75%)
CMYKcmyk(0%, 60.4%, 13%, 24.7%)
CIE-LABlab(50.88, 56.98, -26.24)
CIE-LCHlch(50.88, 62.73, 335.28°)
OKLaboklab(60.02% 0.1669 -0.0711)
OKLCHoklch(60.02% 0.181 336.9)
XYZxyz(31.2981, 19.1679, 38.6031)
Luminance0.1916 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CA7 #4CC065
analogous
#9F4CC0 #C04CA7 #C04C6D
triadic
#C04CA7 #A7C04C #4CA7C0
tetradic
#C04CA7 #C09F4C #4CC065 #4C6DC0
square
#C04CA7 #C09F4C #4CC065 #4C6DC0
split-complementary
#C04CA7 #6DC04C #4CC09F
monochromatic
#6C265D #993684 #C04CA7 #D079BD #E0A7D4

Accessibility & contrast

On white

4.35
#C04CA7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#C04CA7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CA7
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CA7#FFFFFF#000000##000000
##C04CA71.004.354.834.83
#FFFFFF4.351.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4E6EAA
Deuteranopia (green-blind)
#7280A4
Tritanopia (blue-blind)
#C95173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04ca7;
/* rgb */ color: rgb(192, 76, 167);
/* oklch */ color: oklch(60.0% 0.181 336.9);
Tailwind
colors: {
  custom: {
    50: '#d685c1',
    500: '#c04ca7',
    950: '#000000',
  },
}
SCSS
$custom: #c04ca7;
$custom-light: #d685c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ca7",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 167
  },
  "hsl": {
    "h": 312.931,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60021,
    "c": 0.18141,
    "h": 336.9
  },
  "luminance": 0.19165
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04CA7

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

Preview Lab → · Contrast checker → · Palette generator →

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