#C8417F#C8417F

#C8417F is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.4% C 0.180 H 355.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C8417F
RGBrgb(200, 65, 127)
HSLhsl(332, 55%, 52%)
HSVhsv(332, 68%, 78%)
CMYKcmyk(0%, 67.5%, 36.5%, 21.6%)
CIE-LABlab(49.00, 58.51, -5.14)
CIE-LCHlch(49.00, 58.74, 354.98°)
OKLaboklab(58.39% 0.1791 -0.0128)
OKLCHoklch(58.39% 0.18 355.9)
XYZxyz(29.5423, 17.5957, 21.9151)
Luminance0.1759 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8417F #41C88A
analogous
#C841C3 #C8417F #C84641
triadic
#C8417F #7FC841 #417FC8
tetradic
#C8417F #C3C841 #41C88A #4641C8
square
#C8417F #C3C841 #41C88A #4641C8
split-complementary
#C8417F #41C846 #41C3C8
monochromatic
#6F2044 #9E2E61 #C8417F #D6709F #E3A0BF

Accessibility & contrast

On white

4.65
#C8417F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C8417F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C8417F
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8417F#FFFFFF#000000##FFFFFF
##C8417F1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#596481
Deuteranopia (green-blind)
#7E7E7C
Tritanopia (blue-blind)
#D8355B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8417f;
/* rgb */ color: rgb(200, 65, 127);
/* oklch */ color: oklch(58.4% 0.180 355.9);
Tailwind
colors: {
  custom: {
    50: '#dd7fa4',
    500: '#c8417f',
    950: '#000000',
  },
}
SCSS
$custom: #c8417f;
$custom-light: #dd7fa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8417f",
  "rgb": {
    "r": 200,
    "g": 65,
    "b": 127
  },
  "hsl": {
    "h": 332.444,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58393,
    "c": 0.17955,
    "h": 355.9
  },
  "luminance": 0.17592
}

Semantic roles & 50–950 ramp

primary
#C8417F
secondary
#95D0B5
accent
#DE9A49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C8417F

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

Preview Lab → · Contrast checker → · Palette generator →

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