#C04FAA#C04FAA

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

Color values

HEX#C04FAA
RGBrgb(192, 79, 170)
HSLhsl(312, 47%, 53%)
HSVhsv(312, 59%, 75%)
CMYKcmyk(0%, 58.9%, 11.5%, 24.7%)
CIE-LABlab(51.50, 56.13, -27.04)
CIE-LCHlch(51.50, 62.30, 334.28°)
OKLaboklab(60.52% 0.1635 -0.0734)
OKLCHoklch(60.52% 0.179 335.8)
XYZxyz(31.7902, 19.7032, 40.1512)
Luminance0.1970 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04FAA #4FC065
analogous
#9D4FC0 #C04FAA #C04F72
triadic
#C04FAA #AAC04F #4FAAC0
tetradic
#C04FAA #C09D4F #4FC065 #4F72C0
square
#C04FAA #C09D4F #4FC065 #4F72C0
split-complementary
#C04FAA #72C04F #4FC09D
monochromatic
#6D2760 #9A3787 #C04FAA #D07CC0 #E0A9D6

Accessibility & contrast

On white

4.25
#C04FAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C04FAA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04FAA
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04FAA#FFFFFF#000000##000000
##C04FAA1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5070AD
Deuteranopia (green-blind)
#7281A7
Tritanopia (blue-blind)
#C95575
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c04faa;
/* rgb */ color: rgb(192, 79, 170);
/* oklch */ color: oklch(60.5% 0.179 335.8);
Tailwind
colors: {
  custom: {
    50: '#d686c3',
    500: '#c04faa',
    950: '#000000',
  },
}
SCSS
$custom: #c04faa;
$custom-light: #d686c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04faa",
  "rgb": {
    "r": 192,
    "g": 79,
    "b": 170
  },
  "hsl": {
    "h": 311.681,
    "s": 47.28,
    "l": 53.137
  },
  "oklch": {
    "l": 0.60516,
    "c": 0.17922,
    "h": 335.8
  },
  "luminance": 0.19701
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04FAA

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

Preview Lab → · Contrast checker → · Palette generator →

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