#C74F99#C74F99

#C74F99 is a mid, vivid pink. Relative luminance 0.200; OKLCH L 60.8% C 0.173 H 345.5°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#C74F99
RGBrgb(199, 79, 153)
HSLhsl(323, 52%, 55%)
HSVhsv(323, 60%, 78%)
CMYKcmyk(0%, 60.3%, 23.1%, 22%)
CIE-LABlab(51.88, 55.62, -16.36)
CIE-LCHlch(51.88, 57.97, 343.60°)
OKLaboklab(60.78% 0.1673 -0.0433)
OKLCHoklch(60.78% 0.173 345.5)
XYZxyz(32.1000, 20.0370, 32.3078)
Luminance0.2003 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74F99 #4FC77D
analogous
#B94FC7 #C74F99 #C74F5D
triadic
#C74F99 #99C74F #4F99C7
tetradic
#C74F99 #C7B94F #4FC77D #4F5DC7
square
#C74F99 #C7B94F #4FC77D #4F5DC7
split-complementary
#C74F99 #5DC74F #4FC7B9
monochromatic
#762657 #A43479 #C74F99 #D67DB4 #E5ACCF

Accessibility & contrast

On white

4.19
#C74F99 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#C74F99 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74F99
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74F99#FFFFFF#000000##000000
##C74F991.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9B
Deuteranopia (green-blind)
#7D8396
Tritanopia (blue-blind)
#D34D6D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74f99;
/* rgb */ color: rgb(199, 79, 153);
/* oklch */ color: oklch(60.8% 0.173 345.5);
Tailwind
colors: {
  custom: {
    50: '#db87b7',
    500: '#c74f99',
    950: '#000000',
  },
}
SCSS
$custom: #c74f99;
$custom-light: #db87b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c74f99",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 153
  },
  "hsl": {
    "h": 323,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60782,
    "c": 0.17277,
    "h": 345.5
  },
  "luminance": 0.20034
}

Semantic roles & 50–950 ramp

primary
#C74F99
secondary
#A0D2B3
accent
#DB834D
background
#FDF8FB
surface
#FBF0F6
border
#D4CBD0
text
#150C11
muted
#837D80

Preview Lab

Preview with #C74F99

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

Preview Lab → · Contrast checker → · Palette generator →

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