#C6407A#C6407A

#C6407A is a mid, vivid pink. Relative luminance 0.171; OKLCH L 57.8% C 0.177 H 357.6°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C6407A
RGBrgb(198, 64, 122)
HSLhsl(334, 54%, 51%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 67.7%, 38.4%, 22.4%)
CIE-LABlab(48.36, 57.77, -3.09)
CIE-LCHlch(48.36, 57.86, 356.94°)
OKLaboklab(57.8% 0.1769 -0.0074)
OKLCHoklch(57.8% 0.177 357.6)
XYZxyz(28.6368, 17.0811, 20.1975)
Luminance0.1708 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6407A #40C68C
analogous
#C640BD #C6407A #C64940
triadic
#C6407A #7AC640 #407AC6
tetradic
#C6407A #BDC640 #40C68C #4940C6
square
#C6407A #BDC640 #40C68C #4940C6
split-complementary
#C6407A #40C649 #40BDC6
monochromatic
#6C2041 #9B2E5D #C6407A #D46F9B #E29EBC

Accessibility & contrast

On white

4.76
#C6407A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C6407A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C6407A
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6407A#FFFFFF#000000##FFFFFF
##C6407A1.004.764.424.76
#FFFFFF4.761.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637C
Deuteranopia (green-blind)
#7E7C77
Tritanopia (blue-blind)
#D63258
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c6407a;
/* rgb */ color: rgb(198, 64, 122);
/* oklch */ color: oklch(57.8% 0.177 357.6);
Tailwind
colors: {
  custom: {
    50: '#dc7ea0',
    500: '#c6407a',
    950: '#000000',
  },
}
SCSS
$custom: #c6407a;
$custom-light: #dc7ea0;
$custom-dark: #000000;
JSON
{
  "hex": "#c6407a",
  "rgb": {
    "r": 198,
    "g": 64,
    "b": 122
  },
  "hsl": {
    "h": 334.03,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57804,
    "c": 0.17707,
    "h": 357.6
  },
  "luminance": 0.17078
}

Semantic roles & 50–950 ramp

primary
#C6407A
secondary
#93CEB5
accent
#DD9E4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C6407A

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

Preview Lab → · Contrast checker → · Palette generator →

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