#C6398B#C6398B

#C6398B is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.193 H 349.1°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#C6398B
RGBrgb(198, 57, 139)
HSLhsl(325, 55%, 50%)
HSVhsv(325, 71%, 78%)
CMYKcmyk(0%, 71.2%, 29.8%, 22.4%)
CIE-LABlab(48.01, 62.31, -13.91)
CIE-LCHlch(48.01, 63.84, 347.42°)
OKLaboklab(57.73% 0.1899 -0.0364)
OKLCHoklch(57.73% 0.193 349.1)
XYZxyz(29.4135, 16.7994, 26.1147)
Luminance0.1680 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6398B #39C674
analogous
#BA39C6 #C6398B #C63945
triadic
#C6398B #8BC639 #398BC6
tetradic
#C6398B #C6BA39 #39C674 #3945C6
square
#C6398B #C6BA39 #39C674 #3945C6
split-complementary
#C6398B #45C639 #39C6BA
monochromatic
#671E48 #962B6A #C6398B #D469A7 #E198C3

Accessibility & contrast

On white

4.82
#C6398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C6398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C6398B
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6398B#FFFFFF#000000##FFFFFF
##C6398B1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628D
Deuteranopia (green-blind)
#777B88
Tritanopia (blue-blind)
#D4325D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c6398b;
/* rgb */ color: rgb(198, 57, 139);
/* oklch */ color: oklch(57.7% 0.193 349.1);
Tailwind
colors: {
  custom: {
    50: '#dc7bad',
    500: '#c6398b',
    950: '#000000',
  },
}
SCSS
$custom: #c6398b;
$custom-light: #dc7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#c6398b",
  "rgb": {
    "r": 198,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 325.106,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.57733,
    "c": 0.19338,
    "h": 349.1
  },
  "luminance": 0.16796
}

Semantic roles & 50–950 ramp

primary
#C6398B
secondary
#8ECDA8
accent
#DF8849
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C6398B

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

Preview Lab → · Contrast checker → · Palette generator →

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