#C6398A#C6398A

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

Color values

HEX#C6398A
RGBrgb(198, 57, 138)
HSLhsl(326, 55%, 50%)
HSVhsv(326, 71%, 78%)
CMYKcmyk(0%, 71.2%, 30.3%, 22.4%)
CIE-LABlab(47.97, 62.19, -13.36)
CIE-LCHlch(47.97, 63.61, 347.88°)
OKLaboklab(57.69% 0.1897 -0.0349)
OKLCHoklch(57.69% 0.193 349.6)
XYZxyz(29.3408, 16.7703, 25.7317)
Luminance0.1677 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6398A #39C675
analogous
#BC39C6 #C6398A #C63943
triadic
#C6398A #8AC639 #398AC6
tetradic
#C6398A #C6BC39 #39C675 #3943C6
square
#C6398A #C6BC39 #39C675 #3943C6
split-complementary
#C6398A #43C639 #39C6BC
monochromatic
#671E48 #962B69 #C6398A #D469A6 #E198C2

Accessibility & contrast

On white

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

On black

4.35
#C6398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C6398A#FFFFFF#000000##FFFFFF
##C6398A1.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E628C
Deuteranopia (green-blind)
#777B87
Tritanopia (blue-blind)
#D4325C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c6398a;
/* rgb */ color: rgb(198, 57, 138);
/* oklch */ color: oklch(57.7% 0.193 349.6);
Tailwind
colors: {
  custom: {
    50: '#dc7bac',
    500: '#c6398a',
    950: '#000000',
  },
}
SCSS
$custom: #c6398a;
$custom-light: #dc7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#c6398a",
  "rgb": {
    "r": 198,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 325.532,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.19286,
    "h": 349.6
  },
  "luminance": 0.16767
}

Semantic roles & 50–950 ramp

primary
#C6398A
secondary
#8ECDA9
accent
#DF8949
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C6398A

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

Preview Lab → · Contrast checker → · Palette generator →

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