#C8417D#C8417D

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

Color values

HEX#C8417D
RGBrgb(200, 65, 125)
HSLhsl(333, 55%, 52%)
HSVhsv(333, 68%, 78%)
CMYKcmyk(0%, 67.5%, 37.5%, 21.6%)
CIE-LABlab(48.94, 58.29, -4.02)
CIE-LCHlch(48.94, 58.43, 356.05°)
OKLaboklab(58.33% 0.1785 -0.0098)
OKLCHoklch(58.33% 0.179 356.8)
XYZxyz(29.4132, 17.5441, 21.2355)
Luminance0.1754 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8417D #41C88C
analogous
#C841C1 #C8417D #C84941
triadic
#C8417D #7DC841 #417DC8
tetradic
#C8417D #C1C841 #41C88C #4941C8
square
#C8417D #C1C841 #41C88C #4941C8
split-complementary
#C8417D #41C849 #41C1C8
monochromatic
#6F2043 #9E2E60 #C8417D #D6709D #E3A0BE

Accessibility & contrast

On white

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

On black

4.51
#C8417D on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C8417D#FFFFFF#000000##FFFFFF
##C8417D1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A647F
Deuteranopia (green-blind)
#7F7E7A
Tritanopia (blue-blind)
#D8345A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8417d;
/* rgb */ color: rgb(200, 65, 125);
/* oklch */ color: oklch(58.3% 0.179 356.8);
Tailwind
colors: {
  custom: {
    50: '#dd7fa2',
    500: '#c8417d',
    950: '#000000',
  },
}
SCSS
$custom: #c8417d;
$custom-light: #dd7fa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8417d",
  "rgb": {
    "r": 200,
    "g": 65,
    "b": 125
  },
  "hsl": {
    "h": 333.333,
    "s": 55.102,
    "l": 51.961
  },
  "oklch": {
    "l": 0.58325,
    "c": 0.17874,
    "h": 356.8
  },
  "luminance": 0.17541
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8417D

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

Preview Lab → · Contrast checker → · Palette generator →

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