#C6408C#C6408C

#C6408C is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.5% C 0.185 H 349.4°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C6408C
RGBrgb(198, 64, 140)
HSLhsl(326, 54%, 51%)
HSVhsv(326, 68%, 78%)
CMYKcmyk(0%, 67.7%, 29.3%, 22.4%)
CIE-LABlab(48.97, 59.85, -13.05)
CIE-LCHlch(48.97, 61.26, 347.70°)
OKLaboklab(58.45% 0.1821 -0.0341)
OKLCHoklch(58.45% 0.185 349.4)
XYZxyz(29.8571, 17.5692, 26.6247)
Luminance0.1757 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6408C #40C67A
analogous
#BD40C6 #C6408C #C64049
triadic
#C6408C #8CC640 #408CC6
tetradic
#C6408C #C6BD40 #40C67A #4049C6
square
#C6408C #C6BD40 #40C67A #4049C6
split-complementary
#C6408C #49C640 #40C6BD
monochromatic
#6C204B #9B2E6C #C6408C #D46FA8 #E29EC5

Accessibility & contrast

On white

4.65
#C6408C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#C6408C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C6408C
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6408C#FFFFFF#000000##FFFFFF
##C6408C1.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53658E
Deuteranopia (green-blind)
#797D89
Tritanopia (blue-blind)
#D43A60
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c6408c;
/* rgb */ color: rgb(198, 64, 140);
/* oklch */ color: oklch(58.5% 0.185 349.4);
Tailwind
colors: {
  custom: {
    50: '#db7ead',
    500: '#c6408c',
    950: '#000000',
  },
}
SCSS
$custom: #c6408c;
$custom-light: #db7ead;
$custom-dark: #000000;
JSON
{
  "hex": "#c6408c",
  "rgb": {
    "r": 198,
    "g": 64,
    "b": 140
  },
  "hsl": {
    "h": 325.97,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58451,
    "c": 0.1853,
    "h": 349.4
  },
  "luminance": 0.17566
}

Semantic roles & 50–950 ramp

primary
#C6408C
secondary
#93CEAD
accent
#DD8A4A
background
#FEF8FA
surface
#FCEFF4
border
#D5CACE
text
#160B10
muted
#847C7F

Preview Lab

Preview with #C6408C

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

Preview Lab → · Contrast checker → · Palette generator →

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