#C04A7E#C04A7E

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

Color values

HEX#C04A7E
RGBrgb(192, 74, 126)
HSLhsl(334, 48%, 52%)
HSVhsv(334, 61%, 75%)
CMYKcmyk(0%, 61.5%, 34.4%, 24.7%)
CIE-LABlab(49.02, 52.24, -4.65)
CIE-LCHlch(49.02, 52.44, 354.92°)
OKLaboklab(58.15% 0.1594 -0.0116)
OKLCHoklch(58.15% 0.16 355.8)
XYZxyz(27.9544, 17.6134, 21.6622)
Luminance0.1761 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A7E #4AC08C
analogous
#C04AB9 #C04A7E #C0514A
triadic
#C04A7E #7EC04A #4A7EC0
tetradic
#C04A7E #B9C04A #4AC08C #514AC0
square
#C04A7E #B9C04A #4AC08C #514AC0
split-complementary
#C04A7E #4AC051 #4AB9C0
monochromatic
#6B2544 #983561 #C04A7E #D0779E #E0A5BF

Accessibility & contrast

On white

4.64
#C04A7E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C04A7E
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04A7E#FFFFFF#000000##FFFFFF
##C04A7E1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5D6780
Deuteranopia (green-blind)
#7D7D7B
Tritanopia (blue-blind)
#CE415F
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c04a7e;
/* rgb */ color: rgb(192, 74, 126);
/* oklch */ color: oklch(58.1% 0.160 355.8);
Tailwind
colors: {
  custom: {
    50: '#d783a3',
    500: '#c04a7e',
    950: '#000000',
  },
}
SCSS
$custom: #c04a7e;
$custom-light: #d783a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a7e",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 333.559,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58145,
    "c": 0.15977,
    "h": 355.8
  },
  "luminance": 0.1761
}

Semantic roles & 50–950 ramp

primary
#C04A7E
secondary
#99CDB6
accent
#D89C50
background
#FDF8FA
surface
#FBEFF3
border
#D4CACD
text
#150B0F
muted
#837C7F

Preview Lab

Preview with #C04A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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