#C04798#C04798

#C04798 is a mid, vivid pink. Relative luminance 0.180; OKLCH L 58.8% C 0.178 H 343.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#C04798
RGBrgb(192, 71, 152)
HSLhsl(320, 49%, 52%)
HSVhsv(320, 63%, 75%)
CMYKcmyk(0%, 63%, 20.8%, 24.7%)
CIE-LABlab(49.48, 56.92, -19.54)
CIE-LCHlch(49.48, 60.18, 341.05°)
OKLaboklab(58.78% 0.1704 -0.0522)
OKLCHoklch(58.78% 0.178 343)
XYZxyz(29.6598, 17.9827, 31.6086)
Luminance0.1798 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C04798 #47C06F
analogous
#AC47C0 #C04798 #C0475C
triadic
#C04798 #98C047 #4798C0
tetradic
#C04798 #C0AC47 #47C06F #475CC0
square
#C04798 #C0AC47 #47C06F #475CC0
split-complementary
#C04798 #5CC047 #47C0AC
monochromatic
#692452 #963376 #C04798 #D075B2 #DFA2CB

Accessibility & contrast

On white

4.57
#C04798 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#C04798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C04798
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C04798#FFFFFF#000000##000000
##C047981.004.574.604.60
#FFFFFF4.571.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#51699A
Deuteranopia (green-blind)
#757D95
Tritanopia (blue-blind)
#CC4769
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #c04798;
/* rgb */ color: rgb(192, 71, 152);
/* oklch */ color: oklch(58.8% 0.178 343.0);
Tailwind
colors: {
  custom: {
    50: '#d682b6',
    500: '#c04798',
    950: '#000000',
  },
}
SCSS
$custom: #c04798;
$custom-light: #d682b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c04798",
  "rgb": {
    "r": 192,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 319.835,
    "s": 48.988,
    "l": 51.569
  },
  "oklch": {
    "l": 0.58784,
    "c": 0.17822,
    "h": 343
  },
  "luminance": 0.1798
}

Semantic roles & 50–950 ramp

primary
#C04798
secondary
#97CCA8
accent
#D97D4F
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C04798

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

Preview Lab → · Contrast checker → · Palette generator →

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