#C74797#C74797

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

Color values

HEX#C74797
RGBrgb(199, 71, 151)
HSLhsl(323, 53%, 53%)
HSVhsv(323, 64%, 78%)
CMYKcmyk(0%, 64.3%, 24.1%, 22%)
CIE-LABlab(50.55, 58.76, -17.20)
CIE-LCHlch(50.55, 61.22, 343.69°)
OKLaboklab(59.78% 0.1772 -0.0456)
OKLCHoklch(59.78% 0.183 345.6)
XYZxyz(31.3935, 18.8860, 31.2642)
Luminance0.1888 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74797 #47C777
analogous
#B747C7 #C74797 #C74757
triadic
#C74797 #97C747 #4797C7
tetradic
#C74797 #C7B747 #47C777 #4757C7
square
#C74797 #C7B747 #47C777 #4757C7
split-complementary
#C74797 #57C747 #47C7B7
monochromatic
#712254 #A03176 #C74797 #D576B2 #E4A5CC

Accessibility & contrast

On white

4.40
#C74797 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##C74797#FFFFFF#000000##000000
##C747971.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#556B99
Deuteranopia (green-blind)
#7A8094
Tritanopia (blue-blind)
#D44569
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c74797;
/* rgb */ color: rgb(199, 71, 151);
/* oklch */ color: oklch(59.8% 0.183 345.6);
Tailwind
colors: {
  custom: {
    50: '#dc82b5',
    500: '#c74797',
    950: '#000000',
  },
}
SCSS
$custom: #c74797;
$custom-light: #dc82b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74797",
  "rgb": {
    "r": 199,
    "g": 71,
    "b": 151
  },
  "hsl": {
    "h": 322.5,
    "s": 53.333,
    "l": 52.941
  },
  "oklch": {
    "l": 0.59781,
    "c": 0.18295,
    "h": 345.6
  },
  "luminance": 0.18883
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74797

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

Preview Lab → · Contrast checker → · Palette generator →

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