#C8408D#C8408D

#C8408D is a mid, vivid pink. Relative luminance 0.179; OKLCH L 58.8% C 0.187 H 349.5°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#C8408D
RGBrgb(200, 64, 141)
HSLhsl(326, 55%, 52%)
HSVhsv(326, 68%, 78%)
CMYKcmyk(0%, 68%, 29.5%, 21.6%)
CIE-LABlab(49.34, 60.53, -13.06)
CIE-LCHlch(49.34, 61.92, 347.83°)
OKLaboklab(58.8% 0.1843 -0.0341)
OKLCHoklch(58.8% 0.187 349.5)
XYZxyz(30.4620, 17.8725, 27.0397)
Luminance0.1787 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8408D #40C87B
analogous
#BF40C8 #C8408D #C84049
triadic
#C8408D #8DC840 #408DC8
tetradic
#C8408D #C8BF40 #40C87B #4049C8
square
#C8408D #C8BF40 #40C87B #4049C8
split-complementary
#C8408D #49C840 #40C8BF
monochromatic
#6E204C #9D2D6D #C8408D #D670A9 #E39FC6

Accessibility & contrast

On white

4.59
#C8408D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.57
#C8408D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C8408D
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8408D#FFFFFF#000000##FFFFFF
##C8408D1.004.594.574.59
#FFFFFF4.591.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53668F
Deuteranopia (green-blind)
#7A7E8A
Tritanopia (blue-blind)
#D63A61
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c8408d;
/* rgb */ color: rgb(200, 64, 141);
/* oklch */ color: oklch(58.8% 0.187 349.5);
Tailwind
colors: {
  custom: {
    50: '#dd7fae',
    500: '#c8408d',
    950: '#000000',
  },
}
SCSS
$custom: #c8408d;
$custom-light: #dd7fae;
$custom-dark: #000000;
JSON
{
  "hex": "#c8408d",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 141
  },
  "hsl": {
    "h": 326.029,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58799,
    "c": 0.18739,
    "h": 349.5
  },
  "luminance": 0.17869
}

Semantic roles & 50–950 ramp

primary
#C8408D
secondary
#94D0AE
accent
#DF8A49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C8408D

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

Preview Lab → · Contrast checker → · Palette generator →

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