#C8407C#C8407C

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

Color values

HEX#C8407C
RGBrgb(200, 64, 124)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 68%, 38%, 21.6%)
CIE-LABlab(48.77, 58.57, -3.67)
CIE-LCHlch(48.77, 58.69, 356.41°)
OKLaboklab(58.19% 0.1794 -0.0089)
OKLCHoklch(58.19% 0.18 357.2)
XYZxyz(29.2928, 17.4048, 20.8818)
Luminance0.1740 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8407C #40C88C
analogous
#C840C0 #C8407C #C84840
triadic
#C8407C #7CC840 #407CC8
tetradic
#C8407C #C0C840 #40C88C #4840C8
square
#C8407C #C0C840 #40C88C #4840C8
split-complementary
#C8407C #40C848 #40C0C8
monochromatic
#6E2042 #9D2D5F #C8407C #D6709D #E39FBD

Accessibility & contrast

On white

4.69
#C8407C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#C8407C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8407C
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8407C#FFFFFF#000000##FFFFFF
##C8407C1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59647E
Deuteranopia (green-blind)
#7E7D79
Tritanopia (blue-blind)
#D83259
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8407c;
/* rgb */ color: rgb(200, 64, 124);
/* oklch */ color: oklch(58.2% 0.180 357.2);
Tailwind
colors: {
  custom: {
    50: '#dd7ea1',
    500: '#c8407c',
    950: '#000000',
  },
}
SCSS
$custom: #c8407c;
$custom-light: #dd7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8407c",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 124
  },
  "hsl": {
    "h": 333.529,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58188,
    "c": 0.1796,
    "h": 357.2
  },
  "luminance": 0.17401
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8407C

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

Preview Lab → · Contrast checker → · Palette generator →

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