#C8407D#C8407D

#C8407D is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.2% C 0.180 H 356.7°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#C8407D
RGBrgb(200, 64, 125)
HSLhsl(333, 55%, 52%)
HSVhsv(333, 68%, 78%)
CMYKcmyk(0%, 68%, 37.5%, 21.6%)
CIE-LABlab(48.80, 58.68, -4.23)
CIE-LCHlch(48.80, 58.83, 355.88°)
OKLaboklab(58.22% 0.1797 -0.0104)
OKLCHoklch(58.22% 0.18 356.7)
XYZxyz(29.3563, 17.4303, 21.2165)
Luminance0.1743 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8407D #40C88B
analogous
#C840C1 #C8407D #C84740
triadic
#C8407D #7DC840 #407DC8
tetradic
#C8407D #C1C840 #40C88B #4740C8
square
#C8407D #C1C840 #40C88B #4740C8
split-complementary
#C8407D #40C847 #40C1C8
monochromatic
#6E2043 #9D2D60 #C8407D #D6709D #E39FBE

Accessibility & contrast

On white

4.68
#C8407D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#C8407D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8407D
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8407D#FFFFFF#000000##FFFFFF
##C8407D1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59647F
Deuteranopia (green-blind)
#7E7D7A
Tritanopia (blue-blind)
#D83359
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8407d;
/* rgb */ color: rgb(200, 64, 125);
/* oklch */ color: oklch(58.2% 0.180 356.7);
Tailwind
colors: {
  custom: {
    50: '#dd7ea2',
    500: '#c8407d',
    950: '#000000',
  },
}
SCSS
$custom: #c8407d;
$custom-light: #dd7ea2;
$custom-dark: #000000;
JSON
{
  "hex": "#c8407d",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 125
  },
  "hsl": {
    "h": 333.088,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58221,
    "c": 0.18,
    "h": 356.7
  },
  "luminance": 0.17427
}

Semantic roles & 50–950 ramp

primary
#C8407D
secondary
#94D0B5
accent
#DF9C49
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0F
muted
#847C7E

Preview Lab

Preview with #C8407D

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

Preview Lab → · Contrast checker → · Palette generator →

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