#C6398F#C6398F

#C6398F is a mid, vivid pink. Relative luminance 0.169; OKLCH L 57.9% C 0.196 H 347.5°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C6398F
RGBrgb(198, 57, 143)
HSLhsl(323, 55%, 50%)
HSVhsv(323, 71%, 78%)
CMYKcmyk(0%, 71.2%, 27.8%, 22.4%)
CIE-LABlab(48.16, 62.80, -16.08)
CIE-LCHlch(48.16, 64.82, 345.63°)
OKLaboklab(57.89% 0.1909 -0.0424)
OKLCHoklch(57.89% 0.196 347.5)
XYZxyz(29.7111, 16.9184, 27.6822)
Luminance0.1691 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6398F #39C670
analogous
#B639C6 #C6398F #C63949
triadic
#C6398F #8FC639 #398FC6
tetradic
#C6398F #C6B639 #39C670 #3949C6
square
#C6398F #C6B639 #39C670 #3949C6
split-complementary
#C6398F #49C639 #39C6B6
monochromatic
#671E4A #962B6D #C6398F #D469AA #E198C5

Accessibility & contrast

On white

4.79
#C6398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C6398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C6398F
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6398F#FFFFFF#000000##FFFFFF
##C6398F1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6391
Deuteranopia (green-blind)
#767B8C
Tritanopia (blue-blind)
#D4345F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c6398f;
/* rgb */ color: rgb(198, 57, 143);
/* oklch */ color: oklch(57.9% 0.196 347.5);
Tailwind
colors: {
  custom: {
    50: '#dc7bb0',
    500: '#c6398f',
    950: '#000000',
  },
}
SCSS
$custom: #c6398f;
$custom-light: #dc7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#c6398f",
  "rgb": {
    "r": 198,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 323.404,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.57892,
    "c": 0.19552,
    "h": 347.5
  },
  "luminance": 0.16915
}

Semantic roles & 50–950 ramp

primary
#C6398F
secondary
#8ECDA6
accent
#DF8349
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C6398F

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

Preview Lab → · Contrast checker → · Palette generator →

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