#C04FAC#C04FAC

#C04FAC is a mid, vivid pink. Relative luminance 0.198; OKLCH L 60.6% C 0.181 H 335.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#C04FAC
RGBrgb(192, 79, 172)
HSLhsl(311, 47%, 53%)
HSVhsv(311, 59%, 75%)
CMYKcmyk(0%, 58.9%, 10.4%, 24.7%)
CIE-LABlab(51.59, 56.44, -28.08)
CIE-LCHlch(51.59, 63.04, 333.55°)
OKLaboklab(60.61% 0.1639 -0.0763)
OKLCHoklch(60.61% 0.181 335)
XYZxyz(31.9808, 19.7794, 41.1551)
Luminance0.1978 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FAC #4FC063
analogous
#9B4FC0 #C04FAC #C04F74
triadic
#C04FAC #ACC04F #4FACC0
tetradic
#C04FAC #C09B4F #4FC063 #4F74C0
square
#C04FAC #C09B4F #4FC063 #4F74C0
split-complementary
#C04FAC #74C04F #4FC09B
monochromatic
#6D2761 #9A3789 #C04FAC #D07CC1 #E0A9D7

Accessibility & contrast

On white

4.24
#C04FAC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#C04FAC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FAC
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FAC#FFFFFF#000000##000000
##C04FAC1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F70AF
Deuteranopia (green-blind)
#7281A9
Tritanopia (blue-blind)
#C95676
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04fac;
/* rgb */ color: rgb(192, 79, 172);
/* oklch */ color: oklch(60.6% 0.181 335.0);
Tailwind
colors: {
  custom: {
    50: '#d686c5',
    500: '#c04fac',
    950: '#000000',
  },
}
SCSS
$custom: #c04fac;
$custom-light: #d686c5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fac",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 172
  },
  "hsl": {
    "h": 310.619,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60609,
    "c": 0.18076,
    "h": 335
  },
  "luminance": 0.19777
}

Semantic roles & 50–950 ramp

primary
#C04FAC
secondary
#9DCEA6
accent
#D76951
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C13
muted
#837D82

Preview Lab

Preview with #C04FAC

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

Preview Lab → · Contrast checker → · Palette generator →

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