#C74173#C74173

#C74173 is a mid, vivid pink. Relative luminance 0.172; OKLCH L 57.8% C 0.174 H 1.3°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C74173
RGBrgb(199, 65, 115)
HSLhsl(338, 54%, 52%)
HSVhsv(338, 67%, 78%)
CMYKcmyk(0%, 67.3%, 42.2%, 22%)
CIE-LABlab(48.47, 56.95, 1.33)
CIE-LCHlch(48.47, 56.96, 1.34°)
OKLaboklab(57.85% 0.1743 0.0041)
OKLCHoklch(57.85% 0.174 1.3)
XYZxyz(28.5400, 17.1640, 18.0264)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74173 #41C795
analogous
#C741B6 #C74173 #C75241
triadic
#C74173 #73C741 #4173C7
tetradic
#C74173 #B6C741 #41C795 #5241C7
square
#C74173 #B6C741 #41C795 #5241C7
split-complementary
#C74173 #41C752 #41B6C7
monochromatic
#6D203D #9D2E57 #C74173 #D57096 #E3A0B9

Accessibility & contrast

On white

4.74
#C74173 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C74173 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C74173
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74173#FFFFFF#000000##FFFFFF
##C741731.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C6374
Deuteranopia (green-blind)
#807D70
Tritanopia (blue-blind)
#D73055
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c74173;
/* rgb */ color: rgb(199, 65, 115);
/* oklch */ color: oklch(57.8% 0.174 1.3);
Tailwind
colors: {
  custom: {
    50: '#dd7e9b',
    500: '#c74173',
    950: '#000000',
  },
}
SCSS
$custom: #c74173;
$custom-light: #dd7e9b;
$custom-dark: #000000;
JSON
{
  "hex": "#c74173",
  "rgb": {
    "r": 199,
    "g": 65,
    "b": 115
  },
  "hsl": {
    "h": 337.612,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.57845,
    "c": 0.17431,
    "h": 1.3
  },
  "luminance": 0.17161
}

Semantic roles & 50–950 ramp

primary
#C74173
secondary
#95CFB9
accent
#DEA74A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C74173

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

Preview Lab → · Contrast checker → · Palette generator →

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