#C8407B#C8407B

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

Color values

HEX#C8407B
RGBrgb(200, 64, 123)
HSLhsl(334, 55%, 52%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 68%, 38.5%, 21.6%)
CIE-LABlab(48.73, 58.46, -3.11)
CIE-LCHlch(48.73, 58.55, 356.95°)
OKLaboklab(58.15% 0.1791 -0.0074)
OKLCHoklch(58.15% 0.179 357.6)
XYZxyz(29.2299, 17.3797, 20.5504)
Luminance0.1738 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8407B #40C88D
analogous
#C840BF #C8407B #C84940
triadic
#C8407B #7BC840 #407BC8
tetradic
#C8407B #BFC840 #40C88D #4940C8
square
#C8407B #BFC840 #40C88D #4940C8
split-complementary
#C8407B #40C849 #40BFC8
monochromatic
#6E2042 #9D2D5E #C8407B #D6709C #E39FBD

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8407B#FFFFFF#000000##FFFFFF
##C8407B1.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)
#5A637D
Deuteranopia (green-blind)
#7F7D78
Tritanopia (blue-blind)
#D83258
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8407b;
/* rgb */ color: rgb(200, 64, 123);
/* oklch */ color: oklch(58.2% 0.179 357.6);
Tailwind
colors: {
  custom: {
    50: '#dd7ea1',
    500: '#c8407b',
    950: '#000000',
  },
}
SCSS
$custom: #c8407b;
$custom-light: #dd7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#c8407b",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 333.971,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58154,
    "c": 0.17921,
    "h": 357.6
  },
  "luminance": 0.17376
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C8407B

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

Preview Lab → · Contrast checker → · Palette generator →

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