#C74F97#C74F97

#C74F97 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.7% C 0.172 H 346.4°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#C74F97
RGBrgb(199, 79, 151)
HSLhsl(324, 52%, 55%)
HSVhsv(324, 60%, 78%)
CMYKcmyk(0%, 60.3%, 24.1%, 22%)
CIE-LABlab(51.80, 55.34, -15.29)
CIE-LCHlch(51.80, 57.42, 344.55°)
OKLaboklab(60.7% 0.1667 -0.0404)
OKLCHoklch(60.7% 0.172 346.4)
XYZxyz(31.9362, 19.9715, 31.4451)
Luminance0.1997 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74F97 #4FC77F
analogous
#BB4FC7 #C74F97 #C74F5B
triadic
#C74F97 #97C74F #4F97C7
tetradic
#C74F97 #C7BB4F #4FC77F #4F5BC7
square
#C74F97 #C7BB4F #4FC77F #4F5BC7
split-complementary
#C74F97 #5BC74F #4FC7BB
monochromatic
#762656 #A43478 #C74F97 #D67DB2 #E5ACCE

Accessibility & contrast

On white

4.21
#C74F97 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#C74F97 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74F97
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74F97#FFFFFF#000000##000000
##C74F971.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6F99
Deuteranopia (green-blind)
#7D8394
Tritanopia (blue-blind)
#D44D6C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #c74f97;
/* rgb */ color: rgb(199, 79, 151);
/* oklch */ color: oklch(60.7% 0.172 346.4);
Tailwind
colors: {
  custom: {
    50: '#db87b5',
    500: '#c74f97',
    950: '#000000',
  },
}
SCSS
$custom: #c74f97;
$custom-light: #db87b5;
$custom-dark: #000000;
JSON
{
  "hex": "#c74f97",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 151
  },
  "hsl": {
    "h": 324,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60703,
    "c": 0.17156,
    "h": 346.4
  },
  "luminance": 0.19968
}

Semantic roles & 50–950 ramp

primary
#C74F97
secondary
#A0D2B4
accent
#DB864D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C74F97

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

Preview Lab → · Contrast checker → · Palette generator →

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