#C04A8D#C04A8D

#C04A8D is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.7% C 0.167 H 348.3°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C04A8D
RGBrgb(192, 74, 141)
HSLhsl(326, 48%, 52%)
HSVhsv(326, 61%, 75%)
CMYKcmyk(0%, 61.5%, 26.6%, 24.7%)
CIE-LABlab(49.53, 54.12, -12.89)
CIE-LCHlch(49.53, 55.64, 346.60°)
OKLaboklab(58.69% 0.1638 -0.0338)
OKLCHoklch(58.69% 0.167 348.3)
XYZxyz(28.9959, 18.0300, 27.1472)
Luminance0.1803 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A8D #4AC07D
analogous
#B84AC0 #C04A8D #C04A52
triadic
#C04A8D #8DC04A #4A8DC0
tetradic
#C04A8D #C0B84A #4AC07D #4A52C0
square
#C04A8D #C0B84A #4AC07D #4A52C0
split-complementary
#C04A8D #52C04A #4AC0B8
monochromatic
#6B254D #98356D #C04A8D #D077AA #E0A5C6

Accessibility & contrast

On white

4.56
#C04A8D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.61
#C04A8D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04A8D
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04A8D#FFFFFF#000000##000000
##C04A8D1.004.564.614.61
#FFFFFF4.561.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#58698F
Deuteranopia (green-blind)
#797D8A
Tritanopia (blue-blind)
#CD4665
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c04a8d;
/* rgb */ color: rgb(192, 74, 141);
/* oklch */ color: oklch(58.7% 0.167 348.3);
Tailwind
colors: {
  custom: {
    50: '#d683ae',
    500: '#c04a8d',
    950: '#000000',
  },
}
SCSS
$custom: #c04a8d;
$custom-light: #d683ae;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a8d",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 141
  },
  "hsl": {
    "h": 325.932,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58689,
    "c": 0.16722,
    "h": 348.3
  },
  "luminance": 0.18027
}

Semantic roles & 50–950 ramp

primary
#C04A8D
secondary
#99CDAF
accent
#D88B50
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C04A8D

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

Preview Lab → · Contrast checker → · Palette generator →

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