#C6397B#C6397B

#C6397B is a mid, vivid pink. Relative luminance 0.164; OKLCH L 57.1% C 0.186 H 356.1°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#C6397B
RGBrgb(198, 57, 123)
HSLhsl(332, 55%, 50%)
HSVhsv(332, 71%, 78%)
CMYKcmyk(0%, 71.2%, 37.9%, 22.4%)
CIE-LABlab(47.45, 60.50, -5.05)
CIE-LCHlch(47.45, 60.71, 355.23°)
OKLaboklab(57.14% 0.1855 -0.0125)
OKLCHoklch(57.14% 0.186 356.1)
XYZxyz(28.3288, 16.3655, 20.4021)
Luminance0.1636 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6397B #39C684
analogous
#C639C1 #C6397B #C63E39
triadic
#C6397B #7BC639 #397BC6
tetradic
#C6397B #C1C639 #39C684 #3E39C6
square
#C6397B #C1C639 #39C684 #3E39C6
split-complementary
#C6397B #39C63E #39C1C6
monochromatic
#671E40 #962B5D #C6397B #D4699B #E198BA

Accessibility & contrast

On white

4.92
#C6397B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#C6397B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C6397B
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6397B#FFFFFF#000000##FFFFFF
##C6397B1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54607D
Deuteranopia (green-blind)
#7B7A78
Tritanopia (blue-blind)
#D62A55
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c6397b;
/* rgb */ color: rgb(198, 57, 123);
/* oklch */ color: oklch(57.1% 0.186 356.1);
Tailwind
colors: {
  custom: {
    50: '#dc7ba1',
    500: '#c6397b',
    950: '#000000',
  },
}
SCSS
$custom: #c6397b;
$custom-light: #dc7ba1;
$custom-dark: #000000;
JSON
{
  "hex": "#c6397b",
  "rgb": {
    "r": 198,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 331.915,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.57143,
    "c": 0.18593,
    "h": 356.1
  },
  "luminance": 0.16362
}

Semantic roles & 50–950 ramp

primary
#C6397B
secondary
#8ECDAF
accent
#DF9949
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C6397B

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

Preview Lab → · Contrast checker → · Palette generator →

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