#C04CAB#C04CAB

#C04CAB is a mid, vivid pink. Relative luminance 0.193; OKLCH L 60.2% C 0.184 H 335.3°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#C04CAB
RGBrgb(192, 76, 171)
HSLhsl(311, 48%, 53%)
HSVhsv(311, 60%, 75%)
CMYKcmyk(0%, 60.4%, 10.9%, 24.7%)
CIE-LABlab(51.06, 57.61, -28.31)
CIE-LCHlch(51.06, 64.19, 333.83°)
OKLaboklab(60.21% 0.1676 -0.0769)
OKLCHoklch(60.21% 0.184 335.3)
XYZxyz(31.6736, 19.3181, 40.5807)
Luminance0.1932 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04CAB #4CC061
analogous
#9B4CC0 #C04CAB #C04C71
triadic
#C04CAB #ABC04C #4CABC0
tetradic
#C04CAB #C09B4C #4CC061 #4C71C0
square
#C04CAB #C09B4C #4CC061 #4C71C0
split-complementary
#C04CAB #71C04C #4CC09B
monochromatic
#6C265F #993687 #C04CAB #D079C0 #E0A7D5

Accessibility & contrast

On white

4.32
#C04CAB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#C04CAB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04CAB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04CAB#FFFFFF#000000##000000
##C04CAB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C6FAE
Deuteranopia (green-blind)
#7080A8
Tritanopia (blue-blind)
#C95374
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #c04cab;
/* rgb */ color: rgb(192, 76, 171);
/* oklch */ color: oklch(60.2% 0.184 335.3);
Tailwind
colors: {
  custom: {
    50: '#d685c4',
    500: '#c04cab',
    950: '#000000',
  },
}
SCSS
$custom: #c04cab;
$custom-light: #d685c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c04cab",
  "rgb": {
    "r": 192,
    "g": 76,
    "b": 171
  },
  "hsl": {
    "h": 310.862,
    "s": 47.934,
    "l": 52.549
  },
  "oklch": {
    "l": 0.60206,
    "c": 0.1844,
    "h": 335.3
  },
  "luminance": 0.19316
}

Semantic roles & 50–950 ramp

primary
#C04CAB
secondary
#9BCDA4
accent
#D86950
background
#FDF8FC
surface
#FBF0F8
border
#D4CBD1
text
#150B12
muted
#837C81

Preview Lab

Preview with #C04CAB

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

Preview Lab → · Contrast checker → · Palette generator →

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