#C8408E#C8408E

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

Color values

HEX#C8408E
RGBrgb(200, 64, 142)
HSLhsl(326, 55%, 52%)
HSVhsv(326, 68%, 78%)
CMYKcmyk(0%, 68%, 29%, 21.6%)
CIE-LABlab(49.38, 60.65, -13.60)
CIE-LCHlch(49.38, 62.16, 347.36°)
OKLaboklab(58.84% 0.1845 -0.0356)
OKLCHoklch(58.84% 0.188 349.1)
XYZxyz(30.5367, 17.9024, 27.4333)
Luminance0.1790 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8408E #40C87A
analogous
#BE40C8 #C8408E #C8404A
triadic
#C8408E #8EC840 #408EC8
tetradic
#C8408E #C8BE40 #40C87A #404AC8
square
#C8408E #C8BE40 #40C87A #404AC8
split-complementary
#C8408E #4AC840 #40C8BE
monochromatic
#6E204D #9D2D6E #C8408E #D670AA #E39FC6

Accessibility & contrast

On white

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

On black

4.58
#C8408E on #000000
AA ✓AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C8408E#FFFFFF#000000##FFFFFF
##C8408E1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#536690
Deuteranopia (green-blind)
#7A7E8B
Tritanopia (blue-blind)
#D63A61
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c8408e;
/* rgb */ color: rgb(200, 64, 142);
/* oklch */ color: oklch(58.8% 0.188 349.1);
Tailwind
colors: {
  custom: {
    50: '#dd7faf',
    500: '#c8408e',
    950: '#000000',
  },
}
SCSS
$custom: #c8408e;
$custom-light: #dd7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#c8408e",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 142
  },
  "hsl": {
    "h": 325.588,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58838,
    "c": 0.18791,
    "h": 349.1
  },
  "luminance": 0.17899
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8408E

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

Preview Lab → · Contrast checker → · Palette generator →

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