#C1398B#C1398B

#C1398B is a mid, vivid pink. Relative luminance 0.161; OKLCH L 56.9% C 0.190 H 347.7°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#C1398B
RGBrgb(193, 57, 139)
HSLhsl(324, 54%, 49%)
HSVhsv(324, 70%, 76%)
CMYKcmyk(0%, 70.5%, 28%, 24.3%)
CIE-LABlab(47.15, 60.98, -15.29)
CIE-LCHlch(47.15, 62.86, 345.92°)
OKLaboklab(56.94% 0.1853 -0.0403)
OKLCHoklch(56.94% 0.19 347.7)
XYZxyz(28.1169, 16.1308, 26.0539)
Luminance0.1613 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C1398B #39C16F
analogous
#B339C1 #C1398B #C13947
triadic
#C1398B #8BC139 #398BC1
tetradic
#C1398B #C1B339 #39C16F #3947C1
square
#C1398B #C1B339 #39C16F #3947C1
split-complementary
#C1398B #47C139 #39C1B3
monochromatic
#631D47 #922B69 #C1398B #D266A7 #E095C2

Accessibility & contrast

On white

4.97
#C1398B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#C1398B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C1398B
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C1398B#FFFFFF#000000##FFFFFF
##C1398B1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C618D
Deuteranopia (green-blind)
#737888
Tritanopia (blue-blind)
#CE345D
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c1398b;
/* rgb */ color: rgb(193, 57, 139);
/* oklch */ color: oklch(56.9% 0.190 347.7);
Tailwind
colors: {
  custom: {
    50: '#d87aad',
    500: '#c1398b',
    950: '#000000',
  },
}
SCSS
$custom: #c1398b;
$custom-light: #d87aad;
$custom-dark: #000000;
JSON
{
  "hex": "#c1398b",
  "rgb": {
    "r": 193,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 323.824,
    "s": 54.4,
    "l": 49.02
  },
  "oklch": {
    "l": 0.56941,
    "c": 0.18965,
    "h": 347.7
  },
  "luminance": 0.16128
}

Semantic roles & 50–950 ramp

primary
#C1398B
secondary
#8BCBA4
accent
#DE854A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A10
muted
#837C7F

Preview Lab

Preview with #C1398B

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

Preview Lab → · Contrast checker → · Palette generator →

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