#C8407F#C8407F

#C8407F is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.3% C 0.181 H 355.8°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C8407F
RGBrgb(200, 64, 127)
HSLhsl(332, 55%, 52%)
HSVhsv(332, 68%, 78%)
CMYKcmyk(0%, 68%, 36.5%, 21.6%)
CIE-LABlab(48.86, 58.90, -5.34)
CIE-LCHlch(48.86, 59.14, 354.82°)
OKLaboklab(58.29% 0.1803 -0.0133)
OKLCHoklch(58.29% 0.181 355.8)
XYZxyz(29.4854, 17.4819, 21.8962)
Luminance0.1748 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8407F #40C889
analogous
#C840C3 #C8407F #C84540
triadic
#C8407F #7FC840 #407FC8
tetradic
#C8407F #C3C840 #40C889 #4540C8
square
#C8407F #C3C840 #40C889 #4540C8
split-complementary
#C8407F #40C845 #40C3C8
monochromatic
#6E2044 #9D2D61 #C8407F #D6709F #E39FBF

Accessibility & contrast

On white

4.67
#C8407F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C8407F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C8407F
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C8407F#FFFFFF#000000##FFFFFF
##C8407F1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#586481
Deuteranopia (green-blind)
#7E7D7C
Tritanopia (blue-blind)
#D8345A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8407f;
/* rgb */ color: rgb(200, 64, 127);
/* oklch */ color: oklch(58.3% 0.181 355.8);
Tailwind
colors: {
  custom: {
    50: '#dd7ea4',
    500: '#c8407f',
    950: '#000000',
  },
}
SCSS
$custom: #c8407f;
$custom-light: #dd7ea4;
$custom-dark: #000000;
JSON
{
  "hex": "#c8407f",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 127
  },
  "hsl": {
    "h": 332.206,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58289,
    "c": 0.18081,
    "h": 355.8
  },
  "luminance": 0.17478
}

Semantic roles & 50–950 ramp

primary
#C8407F
secondary
#94D0B4
accent
#DF9949
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C8407F

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

Preview Lab → · Contrast checker → · Palette generator →

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