#C04797#C04797

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

Color values

HEX#C04797
RGBrgb(192, 71, 151)
HSLhsl(320, 49%, 52%)
HSVhsv(320, 63%, 75%)
CMYKcmyk(0%, 63%, 21.4%, 24.7%)
CIE-LABlab(49.44, 56.78, -19.01)
CIE-LCHlch(49.44, 59.88, 341.49°)
OKLaboklab(58.74% 0.1702 -0.0507)
OKLCHoklch(58.74% 0.178 343.4)
XYZxyz(29.5783, 17.9501, 31.1791)
Luminance0.1795 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04797 #47C070
analogous
#AD47C0 #C04797 #C0475B
triadic
#C04797 #97C047 #4797C0
tetradic
#C04797 #C0AD47 #47C070 #475BC0
square
#C04797 #C0AD47 #47C070 #475BC0
split-complementary
#C04797 #5BC047 #47C0AD
monochromatic
#692451 #963375 #C04797 #D075B1 #DFA2CB

Accessibility & contrast

On white

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

On black

4.59
#C04797 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04797
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04797#FFFFFF#000000##000000
##C047971.004.584.594.59
#FFFFFF4.581.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#516999
Deuteranopia (green-blind)
#757D94
Tritanopia (blue-blind)
#CC4769
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c04797;
/* rgb */ color: rgb(192, 71, 151);
/* oklch */ color: oklch(58.7% 0.178 343.4);
Tailwind
colors: {
  custom: {
    50: '#d682b5',
    500: '#c04797',
    950: '#000000',
  },
}
SCSS
$custom: #c04797;
$custom-light: #d682b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c04797",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 320.331,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58742,
    "c": 0.17758,
    "h": 343.4
  },
  "luminance": 0.17947
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C04797

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

Preview Lab → · Contrast checker → · Palette generator →

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