#C7417C#C7417C

#C7417C is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.1% C 0.177 H 357.1°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#C7417C
RGBrgb(199, 65, 124)
HSLhsl(334, 54%, 52%)
HSVhsv(334, 67%, 78%)
CMYKcmyk(0%, 67.3%, 37.7%, 22%)
CIE-LABlab(48.74, 57.89, -3.73)
CIE-LCHlch(48.74, 58.01, 356.31°)
OKLaboklab(58.13% 0.1772 -0.0091)
OKLCHoklch(58.13% 0.177 357.1)
XYZxyz(29.0834, 17.3814, 20.8882)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7417C #41C78C
analogous
#C741BF #C7417C #C74941
triadic
#C7417C #7CC741 #417CC7
tetradic
#C7417C #BFC741 #41C78C #4941C7
square
#C7417C #BFC741 #41C78C #4941C7
split-complementary
#C7417C #41C749 #41BFC7
monochromatic
#6D2042 #9D2E5F #C7417C #D5709D #E3A0BD

Accessibility & contrast

On white

4.69
#C7417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C7417C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7417C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7417C#FFFFFF#000000##FFFFFF
##C7417C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647E
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#D73459
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c7417c;
/* rgb */ color: rgb(199, 65, 124);
/* oklch */ color: oklch(58.1% 0.177 357.1);
Tailwind
colors: {
  custom: {
    50: '#dd7fa1',
    500: '#c7417c',
    950: '#000000',
  },
}
SCSS
$custom: #c7417c;
$custom-light: #dd7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c7417c",
  "rgb": {
    "r": 199,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 333.582,
    "s": 54.472,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58134,
    "c": 0.17747,
    "h": 357.1
  },
  "luminance": 0.17378
}

Semantic roles & 50–950 ramp

primary
#C7417C
secondary
#95CFB5
accent
#DE9D4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C7417C

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

Preview Lab → · Contrast checker → · Palette generator →

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