#C8407A#C8407A

#C8407A is a mid, vivid pink. Relative luminance 0.174; OKLCH L 58.1% C 0.179 H 358.1°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#C8407A
RGBrgb(200, 64, 122)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 68%, 39%, 21.6%)
CIE-LABlab(48.70, 58.36, -2.55)
CIE-LCHlch(48.70, 58.41, 357.50°)
OKLaboklab(58.12% 0.1787 -0.006)
OKLCHoklch(58.12% 0.179 358.1)
XYZxyz(29.1676, 17.3548, 20.2224)
Luminance0.1735 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8407A #40C88E
analogous
#C840BE #C8407A #C84A40
triadic
#C8407A #7AC840 #407AC8
tetradic
#C8407A #BEC840 #40C88E #4A40C8
square
#C8407A #BEC840 #40C88E #4A40C8
split-complementary
#C8407A #40C84A #40BEC8
monochromatic
#6E2041 #9D2D5D #C8407A #D6709B #E39FBC

Accessibility & contrast

On white

4.70
#C8407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.47
#C8407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C8407A
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8407A#FFFFFF#000000##FFFFFF
##C8407A1.004.704.474.70
#FFFFFF4.701.0021.001.00
#0000004.4721.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A637C
Deuteranopia (green-blind)
#7F7D77
Tritanopia (blue-blind)
#D83158
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8407a;
/* rgb */ color: rgb(200, 64, 122);
/* oklch */ color: oklch(58.1% 0.179 358.1);
Tailwind
colors: {
  custom: {
    50: '#dd7ea0',
    500: '#c8407a',
    950: '#000000',
  },
}
SCSS
$custom: #c8407a;
$custom-light: #dd7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#c8407a",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 334.412,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58121,
    "c": 0.17884,
    "h": 358.1
  },
  "luminance": 0.17351
}

Semantic roles & 50–950 ramp

primary
#C8407A
secondary
#94D0B6
accent
#DF9F49
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C8407A

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

Preview Lab → · Contrast checker → · Palette generator →

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