#C04AAA#C04AAA

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

Color values

HEX#C04AAA
RGBrgb(192, 74, 170)
HSLhsl(311, 48%, 52%)
HSVhsv(311, 61%, 75%)
CMYKcmyk(0%, 61.5%, 11.5%, 24.7%)
CIE-LABlab(50.70, 58.32, -28.29)
CIE-LCHlch(50.70, 64.81, 334.12°)
OKLaboklab(59.93% 0.17 -0.0769)
OKLCHoklch(59.93% 0.187 335.7)
XYZxyz(31.4430, 19.0088, 40.0354)
Luminance0.1901 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AAA #4AC060
analogous
#9B4AC0 #C04AAA #C04A6F
triadic
#C04AAA #AAC04A #4AAAC0
tetradic
#C04AAA #C09B4A #4AC060 #4A6FC0
square
#C04AAA #C09B4A #4AC060 #4A6FC0
split-complementary
#C04AAA #6FC04A #4AC09B
monochromatic
#6B255E #983585 #C04AAA #D077BF #E0A5D5

Accessibility & contrast

On white

4.37
#C04AAA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04AAA#FFFFFF#000000##000000
##C04AAA1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4B6DAD
Deuteranopia (green-blind)
#707FA7
Tritanopia (blue-blind)
#C95173
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #c04aaa;
/* rgb */ color: rgb(192, 74, 170);
/* oklch */ color: oklch(59.9% 0.187 335.7);
Tailwind
colors: {
  custom: {
    50: '#d684c3',
    500: '#c04aaa',
    950: '#000000',
  },
}
SCSS
$custom: #c04aaa;
$custom-light: #d684c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04aaa",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 170
  },
  "hsl": {
    "h": 311.186,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59928,
    "c": 0.18654,
    "h": 335.7
  },
  "luminance": 0.19006
}

Semantic roles & 50–950 ramp

primary
#C04AAA
secondary
#99CDA3
accent
#D86950
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C04AAA

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

Preview Lab → · Contrast checker → · Palette generator →

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