#C8407E#C8407E

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

Color values

HEX#C8407E
RGBrgb(200, 64, 126)
HSLhsl(333, 55%, 52%)
HSVhsv(333, 68%, 78%)
CMYKcmyk(0%, 68%, 37%, 21.6%)
CIE-LABlab(48.83, 58.79, -4.79)
CIE-LCHlch(48.83, 58.98, 355.35°)
OKLaboklab(58.26% 0.18 -0.0118)
OKLCHoklch(58.26% 0.18 356.2)
XYZxyz(29.4205, 17.4560, 21.5546)
Luminance0.1745 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C8407E #40C88A
analogous
#C840C2 #C8407E #C84640
triadic
#C8407E #7EC840 #407EC8
tetradic
#C8407E #C2C840 #40C88A #4640C8
square
#C8407E #C2C840 #40C88A #4640C8
split-complementary
#C8407E #40C846 #40C2C8
monochromatic
#6E2043 #9D2D60 #C8407E #D6709E #E39FBE

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C8407E#FFFFFF#000000##FFFFFF
##C8407E1.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)
#596480
Deuteranopia (green-blind)
#7E7D7B
Tritanopia (blue-blind)
#D8335A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c8407e;
/* rgb */ color: rgb(200, 64, 126);
/* oklch */ color: oklch(58.3% 0.180 356.2);
Tailwind
colors: {
  custom: {
    50: '#dd7ea3',
    500: '#c8407e',
    950: '#000000',
  },
}
SCSS
$custom: #c8407e;
$custom-light: #dd7ea3;
$custom-dark: #000000;
JSON
{
  "hex": "#c8407e",
  "rgb": {
    "r": 200,
    "g": 64,
    "b": 126
  },
  "hsl": {
    "h": 332.647,
    "s": 55.285,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.1804,
    "h": 356.2
  },
  "luminance": 0.17453
}

Semantic roles & 50–950 ramp

primary
#C8407E
secondary
#94D0B5
accent
#DF9A49
background
#FEF8FA
surface
#FCEFF3
border
#D5CACD
text
#160B0F
muted
#847C7F

Preview Lab

Preview with #C8407E

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

Preview Lab → · Contrast checker → · Palette generator →

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