#C74798#C74798

#C74798 is a mid, vivid pink. Relative luminance 0.189; OKLCH L 59.8% C 0.184 H 345.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C74798
RGBrgb(199, 71, 152)
HSLhsl(322, 53%, 53%)
HSVhsv(322, 64%, 78%)
CMYKcmyk(0%, 64.3%, 23.6%, 22%)
CIE-LABlab(50.59, 58.89, -17.73)
CIE-LCHlch(50.59, 61.50, 343.24°)
OKLaboklab(59.82% 0.1774 -0.0471)
OKLCHoklch(59.82% 0.184 345.1)
XYZxyz(31.4750, 18.9187, 31.6937)
Luminance0.1892 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74798 #47C776
analogous
#B647C7 #C74798 #C74758
triadic
#C74798 #98C747 #4798C7
tetradic
#C74798 #C7B647 #47C776 #4758C7
square
#C74798 #C7B647 #47C776 #4758C7
split-complementary
#C74798 #58C747 #47C7B6
monochromatic
#712254 #A03177 #C74798 #D576B2 #E4A5CD

Accessibility & contrast

On white

4.39
#C74798 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#C74798 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74798
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74798#FFFFFF#000000##000000
##C747981.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#546B9A
Deuteranopia (green-blind)
#798095
Tritanopia (blue-blind)
#D44569
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c74798;
/* rgb */ color: rgb(199, 71, 152);
/* oklch */ color: oklch(59.8% 0.184 345.1);
Tailwind
colors: {
  custom: {
    50: '#dc82b6',
    500: '#c74798',
    950: '#000000',
  },
}
SCSS
$custom: #c74798;
$custom-light: #dc82b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c74798",
  "rgb": {
    "r": 199,
    "g": 71,
    "b": 152
  },
  "hsl": {
    "h": 322.031,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59821,
    "c": 0.18356,
    "h": 345.1
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#C74798
secondary
#99D1AE
accent
#DD814B
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150B11
muted
#837C80

Preview Lab

Preview with #C74798

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

Preview Lab → · Contrast checker → · Palette generator →

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