#C04A8A#C04A8A

#C04A8A is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.6% C 0.166 H 349.8°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C04A8A
RGBrgb(192, 74, 138)
HSLhsl(327, 48%, 52%)
HSVhsv(327, 61%, 75%)
CMYKcmyk(0%, 61.5%, 28.1%, 24.7%)
CIE-LABlab(49.43, 53.73, -11.26)
CIE-LCHlch(49.43, 54.90, 348.17°)
OKLaboklab(58.58% 0.163 -0.0293)
OKLCHoklch(58.58% 0.166 349.8)
XYZxyz(28.7757, 17.9419, 25.9875)
Luminance0.1794 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A8A #4AC080
analogous
#BB4AC0 #C04A8A #C04A4F
triadic
#C04A8A #8AC04A #4A8AC0
tetradic
#C04A8A #C0BB4A #4AC080 #4A4FC0
square
#C04A8A #C0BB4A #4AC080 #4A4FC0
split-complementary
#C04A8A #4FC04A #4AC0BB
monochromatic
#6B254B #98356B #C04A8A #D077A7 #E0A5C5

Accessibility & contrast

On white

4.58
#C04A8A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#C04A8A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04A8A
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04A8A#FFFFFF#000000##000000
##C04A8A1.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#59688C
Deuteranopia (green-blind)
#7A7D87
Tritanopia (blue-blind)
#CD4564
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c04a8a;
/* rgb */ color: rgb(192, 74, 138);
/* oklch */ color: oklch(58.6% 0.166 349.8);
Tailwind
colors: {
  custom: {
    50: '#d683ac',
    500: '#c04a8a',
    950: '#000000',
  },
}
SCSS
$custom: #c04a8a;
$custom-light: #d683ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a8a",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 138
  },
  "hsl": {
    "h": 327.458,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58575,
    "c": 0.16557,
    "h": 349.8
  },
  "luminance": 0.17939
}

Semantic roles & 50–950 ramp

primary
#C04A8A
secondary
#99CDB1
accent
#D88E50
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04A8A

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

Preview Lab → · Contrast checker → · Palette generator →

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