#C04A7D#C04A7D

#C04A7D is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.1% C 0.159 H 356.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C04A7D
RGBrgb(192, 74, 125)
HSLhsl(334, 48%, 52%)
HSVhsv(334, 61%, 75%)
CMYKcmyk(0%, 61.5%, 34.9%, 24.7%)
CIE-LABlab(48.99, 52.12, -4.09)
CIE-LCHlch(48.99, 52.28, 355.51°)
OKLaboklab(58.11% 0.159 -0.0101)
OKLCHoklch(58.11% 0.159 356.4)
XYZxyz(27.8902, 17.5877, 21.3240)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A7D #4AC08D
analogous
#C04AB8 #C04A7D #C0524A
triadic
#C04A7D #7DC04A #4A7DC0
tetradic
#C04A7D #B8C04A #4AC08D #524AC0
square
#C04A7D #B8C04A #4AC08D #524AC0
split-complementary
#C04A7D #4AC052 #4AB8C0
monochromatic
#6B2543 #983560 #C04A7D #D0779E #E0A5BE

Accessibility & contrast

On white

4.65
#C04A7D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C04A7D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C04A7D
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04A7D#FFFFFF#000000##FFFFFF
##C04A7D1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D677E
Deuteranopia (green-blind)
#7D7D7A
Tritanopia (blue-blind)
#CE415E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c04a7d;
/* rgb */ color: rgb(192, 74, 125);
/* oklch */ color: oklch(58.1% 0.159 356.4);
Tailwind
colors: {
  custom: {
    50: '#d783a2',
    500: '#c04a7d',
    950: '#000000',
  },
}
SCSS
$custom: #c04a7d;
$custom-light: #d783a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a7d",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 125
  },
  "hsl": {
    "h": 334.068,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58111,
    "c": 0.15935,
    "h": 356.4
  },
  "luminance": 0.17585
}

Semantic roles & 50–950 ramp

primary
#C04A7D
secondary
#99CDB6
accent
#D89D50
background
#FDF8F9
surface
#FBEFF2
border
#D4CACC
text
#150B0F
muted
#837C7E

Preview Lab

Preview with #C04A7D

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

Preview Lab → · Contrast checker → · Palette generator →

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