#C04CA2#C04CA2

#C04CA2 is a mid, vivid pink. Relative luminance 0.190; OKLCH L 59.8% C 0.178 H 339.0°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#C04CA2
RGBrgb(192, 76, 162)
HSLhsl(316, 48%, 53%)
HSVhsv(316, 60%, 75%)
CMYKcmyk(0%, 60.4%, 15.6%, 24.7%)
CIE-LABlab(50.67, 56.22, -23.62)
CIE-LCHlch(50.67, 60.98, 337.21°)
OKLaboklab(59.8% 0.166 -0.0637)
OKLCHoklch(59.8% 0.178 339)
XYZxyz(30.8448, 18.9866, 36.2157)
Luminance0.1898 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CA2 #4CC06A
analogous
#A44CC0 #C04CA2 #C04C68
triadic
#C04CA2 #A2C04C #4CA2C0
tetradic
#C04CA2 #C0A44C #4CC06A #4C68C0
square
#C04CA2 #C0A44C #4CC06A #4C68C0
split-complementary
#C04CA2 #68C04C #4CC0A4
monochromatic
#6C265A #99367F #C04CA2 #D079BA #E0A7D1

Accessibility & contrast

On white

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

On black

4.80
#C04CA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CA2
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CA2#FFFFFF#000000##000000
##C04CA21.004.384.804.80
#FFFFFF4.381.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#516DA5
Deuteranopia (green-blind)
#747F9F
Tritanopia (blue-blind)
#CA5070
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04ca2;
/* rgb */ color: rgb(192, 76, 162);
/* oklch */ color: oklch(59.8% 0.178 339.0);
Tailwind
colors: {
  custom: {
    50: '#d685bd',
    500: '#c04ca2',
    950: '#000000',
  },
}
SCSS
$custom: #c04ca2;
$custom-light: #d685bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04ca2",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 162
  },
  "hsl": {
    "h": 315.517,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.59796,
    "c": 0.17777,
    "h": 339
  },
  "luminance": 0.18984
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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