#C6387B#C6387B

#C6387B is a mid, vivid pink. Relative luminance 0.163; OKLCH L 57.0% C 0.187 H 356.0°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#C6387B
RGBrgb(198, 56, 123)
HSLhsl(332, 56%, 50%)
HSVhsv(332, 72%, 78%)
CMYKcmyk(0%, 71.7%, 37.9%, 22.4%)
CIE-LABlab(47.32, 60.85, -5.24)
CIE-LCHlch(47.32, 61.08, 355.08°)
OKLaboklab(57.05% 0.1866 -0.013)
OKLCHoklch(57.05% 0.187 356)
XYZxyz(28.2799, 16.2676, 20.3858)
Luminance0.1626 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6387B #38C683
analogous
#C638C2 #C6387B #C63C38
triadic
#C6387B #7BC638 #387BC6
tetradic
#C6387B #C2C638 #38C683 #3C38C6
square
#C6387B #C2C638 #38C683 #3C38C6
split-complementary
#C6387B #38C63C #38C2C6
monochromatic
#671D40 #962B5D #C6387B #D4679B #E297BA

Accessibility & contrast

On white

4.94
#C6387B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#C6387B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C6387B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6387B#FFFFFF#000000##FFFFFF
##C6387B1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535F7D
Deuteranopia (green-blind)
#7A7A78
Tritanopia (blue-blind)
#D62955
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c6387b;
/* rgb */ color: rgb(198, 56, 123);
/* oklch */ color: oklch(57.0% 0.187 356.0);
Tailwind
colors: {
  custom: {
    50: '#dc7aa1',
    500: '#c6387b',
    950: '#000000',
  },
}
SCSS
$custom: #c6387b;
$custom-light: #dc7aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c6387b",
  "rgb": {
    "r": 198,
    "g": 56,
    "b": 123
  },
  "hsl": {
    "h": 331.69,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.5705,
    "c": 0.18708,
    "h": 356
  },
  "luminance": 0.16264
}

Semantic roles & 50–950 ramp

primary
#C6387B
secondary
#8DCDAF
accent
#DF9849
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C6387B

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

Preview Lab → · Contrast checker → · Palette generator →

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