#C74D97#C74D97

#C74D97 is a mid, vivid pink. Relative luminance 0.197; OKLCH L 60.5% C 0.174 H 346.2°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C74D97
RGBrgb(199, 77, 151)
HSLhsl(324, 52%, 54%)
HSVhsv(324, 61%, 78%)
CMYKcmyk(0%, 61.3%, 24.1%, 22%)
CIE-LABlab(51.48, 56.22, -15.78)
CIE-LCHlch(51.48, 58.39, 344.32°)
OKLaboklab(60.46% 0.1694 -0.0417)
OKLCHoklch(60.46% 0.174 346.2)
XYZxyz(31.7941, 19.6873, 31.3977)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74D97 #4DC77D
analogous
#BA4DC7 #C74D97 #C74D5A
triadic
#C74D97 #97C74D #4D97C7
tetradic
#C74D97 #C7BA4D #4DC77D #4D5AC7
square
#C74D97 #C7BA4D #4DC77D #4D5AC7
split-complementary
#C74D97 #5AC74D #4DC7BA
monochromatic
#752555 #A33377 #C74D97 #D67CB2 #E4AACD

Accessibility & contrast

On white

4.25
#C74D97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#C74D97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74D97
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74D97#FFFFFF#000000##000000
##C74D971.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A6E99
Deuteranopia (green-blind)
#7C8294
Tritanopia (blue-blind)
#D44B6B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74d97;
/* rgb */ color: rgb(199, 77, 151);
/* oklch */ color: oklch(60.5% 0.174 346.2);
Tailwind
colors: {
  custom: {
    50: '#db85b5',
    500: '#c74d97',
    950: '#000000',
  },
}
SCSS
$custom: #c74d97;
$custom-light: #db85b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74d97",
  "rgb": {
    "r": 199,
    "g": 77,
    "b": 151
  },
  "hsl": {
    "h": 323.607,
    "s": 52.137,
    "l": 54.118
  },
  "oklch": {
    "l": 0.60464,
    "c": 0.17448,
    "h": 346.2
  },
  "luminance": 0.19684
}

Semantic roles & 50–950 ramp

primary
#C74D97
secondary
#9ED2B2
accent
#DC854C
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C74D97

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

Preview Lab → · Contrast checker → · Palette generator →

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