#C04796#C04796

#C04796 is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.7% C 0.177 H 343.9°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#C04796
RGBrgb(192, 71, 150)
HSLhsl(321, 49%, 52%)
HSVhsv(321, 63%, 75%)
CMYKcmyk(0%, 63%, 21.9%, 24.7%)
CIE-LABlab(49.40, 56.64, -18.47)
CIE-LCHlch(49.40, 59.58, 341.94°)
OKLaboklab(58.7% 0.17 -0.0492)
OKLCHoklch(58.7% 0.177 343.9)
XYZxyz(29.4974, 17.9177, 30.7532)
Luminance0.1792 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04796 #47C071
analogous
#AD47C0 #C04796 #C0475A
triadic
#C04796 #96C047 #4796C0
tetradic
#C04796 #C0AD47 #47C071 #475AC0
square
#C04796 #C0AD47 #47C071 #475AC0
split-complementary
#C04796 #5AC047 #47C0AD
monochromatic
#692451 #963374 #C04796 #D075B0 #DFA2CA

Accessibility & contrast

On white

4.58
#C04796 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#C04796 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04796
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04796#FFFFFF#000000##000000
##C047961.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#526998
Deuteranopia (green-blind)
#757D93
Tritanopia (blue-blind)
#CC4768
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c04796;
/* rgb */ color: rgb(192, 71, 150);
/* oklch */ color: oklch(58.7% 0.177 343.9);
Tailwind
colors: {
  custom: {
    50: '#d682b5',
    500: '#c04796',
    950: '#000000',
  },
}
SCSS
$custom: #c04796;
$custom-light: #d682b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04796",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 150
  },
  "hsl": {
    "h": 320.826,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.587,
    "c": 0.17694,
    "h": 343.9
  },
  "luminance": 0.17915
}

Semantic roles & 50–950 ramp

primary
#C04796
secondary
#97CCA9
accent
#D97F4F
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04796

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

Preview Lab → · Contrast checker → · Palette generator →

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