#C04FA9#C04FA9

#C04FA9 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.178 H 336.2°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C04FA9
RGBrgb(192, 79, 169)
HSLhsl(312, 47%, 53%)
HSVhsv(312, 59%, 75%)
CMYKcmyk(0%, 58.9%, 12%, 24.7%)
CIE-LABlab(51.46, 55.97, -26.52)
CIE-LCHlch(51.46, 61.93, 334.64°)
OKLaboklab(60.47% 0.1633 -0.0719)
OKLCHoklch(60.47% 0.178 336.2)
XYZxyz(31.6959, 19.6655, 39.6549)
Luminance0.1966 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FA9 #4FC066
analogous
#9E4FC0 #C04FA9 #C04F71
triadic
#C04FA9 #A9C04F #4FA9C0
tetradic
#C04FA9 #C09E4F #4FC066 #4F71C0
square
#C04FA9 #C09E4F #4FC066 #4F71C0
split-complementary
#C04FA9 #71C04F #4FC09E
monochromatic
#6D275F #9A3786 #C04FA9 #D07CBF #E0A9D5

Accessibility & contrast

On white

4.26
#C04FA9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#C04FA9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FA9
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FA9#FFFFFF#000000##000000
##C04FA91.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5170AC
Deuteranopia (green-blind)
#7381A6
Tritanopia (blue-blind)
#C95575
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04fa9;
/* rgb */ color: rgb(192, 79, 169);
/* oklch */ color: oklch(60.5% 0.178 336.2);
Tailwind
colors: {
  custom: {
    50: '#d686c3',
    500: '#c04fa9',
    950: '#000000',
  },
}
SCSS
$custom: #c04fa9;
$custom-light: #d686c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04fa9",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 169
  },
  "hsl": {
    "h": 312.212,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.6047,
    "c": 0.17846,
    "h": 336.2
  },
  "luminance": 0.19663
}

Semantic roles & 50–950 ramp

primary
#C04FA9
secondary
#9DCEA7
accent
#D76C51
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150C12
muted
#837D81

Preview Lab

Preview with #C04FA9

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

Preview Lab → · Contrast checker → · Palette generator →

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