#C8408C#C8408C

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

Color values

HEX#C8408C
RGBrgb(200, 64, 140)
HSLhsl(326, 55%, 52%)
HSVhsv(326, 68%, 78%)
CMYKcmyk(0%, 68%, 30%, 21.6%)
CIE-LABlab(49.30, 60.41, -12.51)
CIE-LCHlch(49.30, 61.69, 348.30°)
OKLaboklab(58.76% 0.184 -0.0326)
OKLCHoklch(58.76% 0.187 349.9)
XYZxyz(30.3879, 17.8429, 26.6496)
Luminance0.1784 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8408C #40C87C
analogous
#C040C8 #C8408C #C84048
triadic
#C8408C #8CC840 #408CC8
tetradic
#C8408C #C8C040 #40C87C #4048C8
square
#C8408C #C8C040 #40C87C #4048C8
split-complementary
#C8408C #48C840 #40C8C0
monochromatic
#6E204B #9D2D6C #C8408C #D670A9 #E39FC5

Accessibility & contrast

On white

4.60
#C8408C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C8408C
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8408C#FFFFFF#000000##FFFFFF
##C8408C1.004.604.574.60
#FFFFFF4.601.0021.001.00
#0000004.5721.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54668E
Deuteranopia (green-blind)
#7B7E89
Tritanopia (blue-blind)
#D63960
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #c8408c;
/* rgb */ color: rgb(200, 64, 140);
/* oklch */ color: oklch(58.8% 0.187 349.9);
Tailwind
colors: {
  custom: {
    50: '#dd7fad',
    500: '#c8408c',
    950: '#000000',
  },
}
SCSS
$custom: #c8408c;
$custom-light: #dd7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#c8408c",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 326.471,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58761,
    "c": 0.18687,
    "h": 349.9
  },
  "luminance": 0.1784
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8408C

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

Preview Lab → · Contrast checker → · Palette generator →

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