#C8417C#C8417C

#C8417C is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.3% C 0.178 H 357.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C8417C
RGBrgb(200, 65, 124)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 67.5%, 38%, 21.6%)
CIE-LABlab(48.91, 58.18, -3.46)
CIE-LCHlch(48.91, 58.29, 356.59°)
OKLaboklab(58.29% 0.1782 -0.0084)
OKLCHoklch(58.29% 0.178 357.3)
XYZxyz(29.3497, 17.5186, 20.9007)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8417C #41C88D
analogous
#C841BF #C8417C #C84A41
triadic
#C8417C #7CC841 #417CC8
tetradic
#C8417C #BFC841 #41C88D #4A41C8
square
#C8417C #BFC841 #41C88D #4A41C8
split-complementary
#C8417C #41C84A #41BFC8
monochromatic
#6F2042 #9E2E5F #C8417C #D6709D #E3A0BD

Accessibility & contrast

On white

4.66
#C8417C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C8417C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C8417C
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8417C#FFFFFF#000000##FFFFFF
##C8417C1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c8417c;
/* rgb */ color: rgb(200, 65, 124);
/* oklch */ color: oklch(58.3% 0.178 357.3);
Tailwind
colors: {
  custom: {
    50: '#dd7fa1',
    500: '#c8417c',
    950: '#000000',
  },
}
SCSS
$custom: #c8417c;
$custom-light: #dd7fa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8417c",
  "rgb": {
    "r": 200,
    "g": 65,
    "b": 124
  },
  "hsl": {
    "h": 333.778,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58292,
    "c": 0.17835,
    "h": 357.3
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#C8417C
secondary
#95D0B6
accent
#DE9D49
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C8417C

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

Preview Lab → · Contrast checker → · Palette generator →

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