#C8408A#C8408A

#C8408A is a mid, vivid pink. Relative luminance 0.178; OKLCH L 58.7% C 0.186 H 350.8°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#C8408A
RGBrgb(200, 64, 138)
HSLhsl(327, 55%, 52%)
HSVhsv(327, 68%, 78%)
CMYKcmyk(0%, 68%, 31%, 21.6%)
CIE-LABlab(49.23, 60.16, -11.42)
CIE-LCHlch(49.23, 61.24, 349.26°)
OKLaboklab(58.68% 0.1835 -0.0296)
OKLCHoklch(58.68% 0.186 350.8)
XYZxyz(30.2418, 17.7845, 25.8800)
Luminance0.1778 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8408A #40C87E
analogous
#C240C8 #C8408A #C84046
triadic
#C8408A #8AC840 #408AC8
tetradic
#C8408A #C8C240 #40C87E #4046C8
square
#C8408A #C8C240 #40C87E #4046C8
split-complementary
#C8408A #46C840 #40C8C2
monochromatic
#6E204A #9D2D6A #C8408A #D670A7 #E39FC4

Accessibility & contrast

On white

4.61
#C8408A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#C8408A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C8408A
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8408A#FFFFFF#000000##FFFFFF
##C8408A1.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#55668C
Deuteranopia (green-blind)
#7B7E87
Tritanopia (blue-blind)
#D6385F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c8408a;
/* rgb */ color: rgb(200, 64, 138);
/* oklch */ color: oklch(58.7% 0.186 350.8);
Tailwind
colors: {
  custom: {
    50: '#dd7eac',
    500: '#c8408a',
    950: '#000000',
  },
}
SCSS
$custom: #c8408a;
$custom-light: #dd7eac;
$custom-dark: #000000;
JSON
{
  "hex": "#c8408a",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 138
  },
  "hsl": {
    "h": 327.353,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58685,
    "c": 0.18585,
    "h": 350.8
  },
  "luminance": 0.17781
}

Semantic roles & 50–950 ramp

primary
#C8408A
secondary
#94D0AF
accent
#DF8D49
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C8408A

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

Preview Lab → · Contrast checker → · Palette generator →

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