#C74A87#C74A87

#C74A87 is a mid, vivid pink. Relative luminance 0.188; OKLCH L 59.5% C 0.170 H 353.3°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C74A87
RGBrgb(199, 74, 135)
HSLhsl(331, 53%, 54%)
HSVhsv(331, 63%, 78%)
CMYKcmyk(0%, 62.8%, 32.2%, 22%)
CIE-LABlab(50.44, 55.46, -7.82)
CIE-LCHlch(50.44, 56.01, 351.97°)
OKLaboklab(59.51% 0.169 -0.02)
OKLCHoklch(59.51% 0.17 353.3)
XYZxyz(30.3767, 18.7922, 24.9445)
Luminance0.1879 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74A87 #4AC78A
analogous
#C74AC5 #C74A87 #C74B4A
triadic
#C74A87 #87C74A #4A87C7
tetradic
#C74A87 #C5C74A #4AC78A #4B4AC7
square
#C74A87 #C5C74A #4AC78A #4B4AC7
split-complementary
#C74A87 #4AC74B #4AC5C7
monochromatic
#73244A #A23269 #C74A87 #D579A6 #E4A7C5

Accessibility & contrast

On white

4.41
#C74A87 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#C74A87 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74A87
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74A87#FFFFFF#000000##000000
##C74A871.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c74a87;
/* rgb */ color: rgb(199, 74, 135);
/* oklch */ color: oklch(59.5% 0.170 353.3);
Tailwind
colors: {
  custom: {
    50: '#dc83aa',
    500: '#c74a87',
    950: '#000000',
  },
}
SCSS
$custom: #c74a87;
$custom-light: #dc83aa;
$custom-dark: #000000;
JSON
{
  "hex": "#c74a87",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 135
  },
  "hsl": {
    "h": 330.72,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59512,
    "c": 0.1702,
    "h": 353.3
  },
  "luminance": 0.18789
}

Semantic roles & 50–950 ramp

primary
#C74A87
secondary
#9CD1B7
accent
#DC964C
background
#FEF8FA
surface
#FCF0F4
border
#D5CBCE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C74A87

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

Preview Lab → · Contrast checker → · Palette generator →

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