#C04AA2#C04AA2

#C04AA2 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.6% C 0.181 H 338.9°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C04AA2
RGBrgb(192, 74, 162)
HSLhsl(315, 48%, 52%)
HSVhsv(315, 61%, 75%)
CMYKcmyk(0%, 61.5%, 15.6%, 24.7%)
CIE-LABlab(50.35, 57.09, -24.11)
CIE-LCHlch(50.35, 61.98, 337.10°)
OKLaboklab(59.56% 0.1686 -0.065)
OKLCHoklch(59.56% 0.181 338.9)
XYZxyz(30.7091, 18.7153, 36.1705)
Luminance0.1871 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04AA2 #4AC068
analogous
#A34AC0 #C04AA2 #C04A67
triadic
#C04AA2 #A2C04A #4AA2C0
tetradic
#C04AA2 #C0A34A #4AC068 #4A67C0
square
#C04AA2 #C0A34A #4AC068 #4A67C0
split-complementary
#C04AA2 #67C04A #4AC0A3
monochromatic
#6B2559 #98357F #C04AA2 #D077B9 #E0A5D1

Accessibility & contrast

On white

4.43
#C04AA2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#C04AA2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04AA2
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04AA2#FFFFFF#000000##000000
##C04AA21.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F6CA5
Deuteranopia (green-blind)
#737F9F
Tritanopia (blue-blind)
#CA4E6F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c04aa2;
/* rgb */ color: rgb(192, 74, 162);
/* oklch */ color: oklch(59.6% 0.181 338.9);
Tailwind
colors: {
  custom: {
    50: '#d683bd',
    500: '#c04aa2',
    950: '#000000',
  },
}
SCSS
$custom: #c04aa2;
$custom-light: #d683bd;
$custom-dark: #000000;
JSON
{
  "hex": "#c04aa2",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 162
  },
  "hsl": {
    "h": 315.254,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.59562,
    "c": 0.18069,
    "h": 338.9
  },
  "luminance": 0.18713
}

Semantic roles & 50–950 ramp

primary
#C04AA2
secondary
#99CDA6
accent
#D87250
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150B12
muted
#837C81

Preview Lab

Preview with #C04AA2

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

Preview Lab → · Contrast checker → · Palette generator →

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