#C74987#C74987

#C74987 is a mid, vivid pink. Relative luminance 0.187; OKLCH L 59.4% C 0.172 H 353.1°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C74987
RGBrgb(199, 73, 135)
HSLhsl(330, 53%, 53%)
HSVhsv(330, 63%, 78%)
CMYKcmyk(0%, 63.3%, 32.2%, 22%)
CIE-LABlab(50.29, 55.88, -8.05)
CIE-LCHlch(50.29, 56.46, 351.80°)
OKLaboklab(59.4% 0.1704 -0.0206)
OKLCHoklch(59.4% 0.172 353.1)
XYZxyz(30.3105, 18.6597, 24.9224)
Luminance0.1866 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74987 #49C789
analogous
#C749C6 #C74987 #C74A49
triadic
#C74987 #87C749 #4987C7
tetradic
#C74987 #C6C749 #49C789 #4A49C7
square
#C74987 #C6C749 #49C789 #4A49C7
split-complementary
#C74987 #49C74A #49C6C7
monochromatic
#72234A #A13269 #C74987 #D578A6 #E4A7C5

Accessibility & contrast

On white

4.44
#C74987 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#C74987 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74987
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74987#FFFFFF#000000##000000
##C749871.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#5C6989
Deuteranopia (green-blind)
#7F8084
Tritanopia (blue-blind)
#D54162
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #c74987;
/* rgb */ color: rgb(199, 73, 135);
/* oklch */ color: oklch(59.4% 0.172 353.1);
Tailwind
colors: {
  custom: {
    50: '#dc83aa',
    500: '#c74987',
    950: '#000000',
  },
}
SCSS
$custom: #c74987;
$custom-light: #dc83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c74987",
  "rgb": {
    "r": 199,
    "g": 73,
    "b": 135
  },
  "hsl": {
    "h": 330.476,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.59396,
    "c": 0.17159,
    "h": 353.1
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#C74987
secondary
#9BD1B6
accent
#DC954B
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C74987

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

Preview Lab → · Contrast checker → · Palette generator →

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