#C6407B#C6407B

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

Color values

HEX#C6407B
RGBrgb(198, 64, 123)
HSLhsl(334, 54%, 51%)
HSVhsv(334, 68%, 78%)
CMYKcmyk(0%, 67.7%, 37.9%, 22.4%)
CIE-LABlab(48.39, 57.88, -3.65)
CIE-LCHlch(48.39, 58.00, 356.39°)
OKLaboklab(57.84% 0.1772 -0.0089)
OKLCHoklch(57.84% 0.177 357.1)
XYZxyz(28.6991, 17.1060, 20.5255)
Luminance0.1710 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6407B #40C68B
analogous
#C640BE #C6407B #C64840
triadic
#C6407B #7BC640 #407BC6
tetradic
#C6407B #BEC640 #40C68B #4840C6
square
#C6407B #BEC640 #40C68B #4840C6
split-complementary
#C6407B #40C648 #40BEC6
monochromatic
#6C2041 #9B2E5E #C6407B #D46F9C #E29EBC

Accessibility & contrast

On white

4.75
#C6407B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C6407B
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6407B#FFFFFF#000000##FFFFFF
##C6407B1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59637D
Deuteranopia (green-blind)
#7D7C78
Tritanopia (blue-blind)
#D63358
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c6407b;
/* rgb */ color: rgb(198, 64, 123);
/* oklch */ color: oklch(57.8% 0.177 357.1);
Tailwind
colors: {
  custom: {
    50: '#dc7ea1',
    500: '#c6407b',
    950: '#000000',
  },
}
SCSS
$custom: #c6407b;
$custom-light: #dc7ea1;
$custom-dark: #000000;
JSON
{
  "hex": "#c6407b",
  "rgb": {
    "r": 198,
    "g": 64,
    "b": 123
  },
  "hsl": {
    "h": 333.582,
    "s": 54.032,
    "l": 51.373
  },
  "oklch": {
    "l": 0.57838,
    "c": 0.17746,
    "h": 357.1
  },
  "luminance": 0.17103
}

Semantic roles & 50–950 ramp

primary
#C6407B
secondary
#93CEB4
accent
#DD9D4A
background
#FEF8F9
surface
#FCEFF2
border
#D5CACC
text
#160B0E
muted
#847C7E

Preview Lab

Preview with #C6407B

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

Preview Lab → · Contrast checker → · Palette generator →

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