#C74F98#C74F98

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

Color values

HEX#C74F98
RGBrgb(199, 79, 152)
HSLhsl(324, 52%, 55%)
HSVhsv(324, 60%, 78%)
CMYKcmyk(0%, 60.3%, 23.6%, 22%)
CIE-LABlab(51.84, 55.48, -15.83)
CIE-LCHlch(51.84, 57.69, 344.08°)
OKLaboklab(60.74% 0.167 -0.0419)
OKLCHoklch(60.74% 0.172 345.9)
XYZxyz(32.0177, 20.0041, 31.8746)
Luminance0.2000 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74F98 #4FC77E
analogous
#BA4FC7 #C74F98 #C74F5C
triadic
#C74F98 #98C74F #4F98C7
tetradic
#C74F98 #C7BA4F #4FC77E #4F5CC7
square
#C74F98 #C7BA4F #4FC77E #4F5CC7
split-complementary
#C74F98 #5CC74F #4FC7BA
monochromatic
#762657 #A43479 #C74F98 #D67DB3 #E5ACCE

Accessibility & contrast

On white

4.20
#C74F98 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.00
#C74F98 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74F98
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74F98#FFFFFF#000000##000000
##C74F981.004.205.005.00
#FFFFFF4.201.0021.0021.00
#0000005.0021.001.001.00
##0000005.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#5B6F9A
Deuteranopia (green-blind)
#7D8395
Tritanopia (blue-blind)
#D44D6D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #c74f98;
/* rgb */ color: rgb(199, 79, 152);
/* oklch */ color: oklch(60.7% 0.172 345.9);
Tailwind
colors: {
  custom: {
    50: '#db87b6',
    500: '#c74f98',
    950: '#000000',
  },
}
SCSS
$custom: #c74f98;
$custom-light: #db87b6;
$custom-dark: #000000;
JSON
{
  "hex": "#c74f98",
  "rgb": {
    "r": 199,
    "g": 79,
    "b": 152
  },
  "hsl": {
    "h": 323.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.60742,
    "c": 0.17217,
    "h": 345.9
  },
  "luminance": 0.20001
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C74F98

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

Preview Lab → · Contrast checker → · Palette generator →

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