#C74A7E#C74A7E

#C74A7E is a mid, vivid pink. Relative luminance 0.185; OKLCH L 59.2% C 0.166 H 357.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#C74A7E
RGBrgb(199, 74, 126)
HSLhsl(335, 53%, 54%)
HSVhsv(335, 63%, 78%)
CMYKcmyk(0%, 62.8%, 36.7%, 22%)
CIE-LABlab(50.16, 54.40, -2.85)
CIE-LCHlch(50.16, 54.48, 357.00°)
OKLaboklab(59.21% 0.1662 -0.0068)
OKLCHoklch(59.21% 0.166 357.7)
XYZxyz(29.7696, 18.5493, 21.7473)
Luminance0.1855 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C74A7E #4AC793
analogous
#C74ABC #C74A7E #C7544A
triadic
#C74A7E #7EC74A #4A7EC7
tetradic
#C74A7E #BCC74A #4AC793 #544AC7
square
#C74A7E #BCC74A #4AC793 #544AC7
split-complementary
#C74A7E #4AC754 #4ABCC7
monochromatic
#732445 #A23261 #C74A7E #D5799F #E4A7C1

Accessibility & contrast

On white

4.46
#C74A7E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.71
#C74A7E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #C74A7E
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C74A7E#FFFFFF#000000##000000
##C74A7E1.004.464.714.71
#FFFFFF4.461.0021.0021.00
#0000004.7121.001.001.00
##0000004.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#60697F
Deuteranopia (green-blind)
#81807B
Tritanopia (blue-blind)
#D63F5F
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #c74a7e;
/* rgb */ color: rgb(199, 74, 126);
/* oklch */ color: oklch(59.2% 0.166 357.7);
Tailwind
colors: {
  custom: {
    50: '#dc83a3',
    500: '#c74a7e',
    950: '#000000',
  },
}
SCSS
$custom: #c74a7e;
$custom-light: #dc83a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c74a7e",
  "rgb": {
    "r": 199,
    "g": 74,
    "b": 126
  },
  "hsl": {
    "h": 335.04,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.59205,
    "c": 0.16635,
    "h": 357.7
  },
  "luminance": 0.18546
}

Semantic roles & 50–950 ramp

primary
#C74A7E
secondary
#9CD1BB
accent
#DCA04C
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C74A7E

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

Preview Lab → · Contrast checker → · Palette generator →

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