#C04FA6#C04FA6

#C04FA6 is a mid, vivid pink. Relative luminance 0.196; OKLCH L 60.3% C 0.176 H 337.5°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#C04FA6
RGBrgb(192, 79, 166)
HSLhsl(314, 47%, 53%)
HSVhsv(314, 59%, 75%)
CMYKcmyk(0%, 58.9%, 13.5%, 24.7%)
CIE-LABlab(51.33, 55.50, -24.96)
CIE-LCHlch(51.33, 60.85, 335.79°)
OKLaboklab(60.34% 0.1628 -0.0675)
OKLCHoklch(60.34% 0.176 337.5)
XYZxyz(31.4175, 19.5541, 38.1886)
Luminance0.1955 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA6 #4FC069
analogous
#A14FC0 #C04FA6 #C04F6D
triadic
#C04FA6 #A6C04F #4FA6C0
tetradic
#C04FA6 #C0A14F #4FC069 #4F6DC0
square
#C04FA6 #C0A14F #4FC069 #4F6DC0
split-complementary
#C04FA6 #6DC04F #4FC0A1
monochromatic
#6D275D #9A3784 #C04FA6 #D07CBD #E0A9D4

Accessibility & contrast

On white

4.28
#C04FA6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#C04FA6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA6
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA6#FFFFFF#000000##000000
##C04FA61.004.284.914.91
#FFFFFF4.281.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#526FA9
Deuteranopia (green-blind)
#7481A3
Tritanopia (blue-blind)
#CA5473
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04fa6;
/* rgb */ color: rgb(192, 79, 166);
/* oklch */ color: oklch(60.3% 0.176 337.5);
Tailwind
colors: {
  custom: {
    50: '#d686c0',
    500: '#c04fa6',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa6;
$custom-light: #d686c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa6",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 166
  },
  "hsl": {
    "h": 313.805,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60335,
    "c": 0.17622,
    "h": 337.5
  },
  "luminance": 0.19552
}

Semantic roles & 50–950 ramp

primary
#C04FA6
secondary
#9DCEA8
accent
#D77051
background
#FDF8FB
surface
#FBF0F7
border
#D4CBD0
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA6

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

Preview Lab → · Contrast checker → · Palette generator →

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