#C04A8E#C04A8E

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

Color values

HEX#C04A8E
RGBrgb(192, 74, 142)
HSLhsl(325, 48%, 52%)
HSVhsv(325, 61%, 75%)
CMYKcmyk(0%, 61.5%, 26%, 24.7%)
CIE-LABlab(49.57, 54.26, -13.43)
CIE-LCHlch(49.57, 55.89, 346.09°)
OKLaboklab(58.73% 0.164 -0.0353)
OKLCHoklch(58.73% 0.168 347.9)
XYZxyz(29.0706, 18.0599, 27.5408)
Luminance0.1806 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04A8E #4AC07C
analogous
#B74AC0 #C04A8E #C04A53
triadic
#C04A8E #8EC04A #4A8EC0
tetradic
#C04A8E #C0B74A #4AC07C #4A53C0
square
#C04A8E #C0B74A #4AC07C #4A53C0
split-complementary
#C04A8E #53C04A #4AC0B7
monochromatic
#6B254D #98356E #C04A8E #D077AA #E0A5C7

Accessibility & contrast

On white

4.55
#C04A8E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C04A8E#FFFFFF#000000##000000
##C04A8E1.004.554.614.61
#FFFFFF4.551.0021.0021.00
#0000004.6121.001.001.00
##0000004.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#586990
Deuteranopia (green-blind)
#797D8B
Tritanopia (blue-blind)
#CD4766
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c04a8e;
/* rgb */ color: rgb(192, 74, 142);
/* oklch */ color: oklch(58.7% 0.168 347.9);
Tailwind
colors: {
  custom: {
    50: '#d683af',
    500: '#c04a8e',
    950: '#000000',
  },
}
SCSS
$custom: #c04a8e;
$custom-light: #d683af;
$custom-dark: #000000;
JSON
{
  "hex": "#c04a8e",
  "rgb": {
    "r": 192,
    "g": 74,
    "b": 142
  },
  "hsl": {
    "h": 325.424,
    "s": 48.361,
    "l": 52.157
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.1678,
    "h": 347.9
  },
  "luminance": 0.18057
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04A8E

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

Preview Lab → · Contrast checker → · Palette generator →

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