#C7398C#C7398C

#C7398C is a mid, vivid pink. Relative luminance 0.170; OKLCH L 57.9% C 0.195 H 349.0°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C7398C
RGBrgb(199, 57, 140)
HSLhsl(325, 56%, 50%)
HSVhsv(325, 71%, 78%)
CMYKcmyk(0%, 71.4%, 29.6%, 22%)
CIE-LABlab(48.22, 62.70, -14.17)
CIE-LCHlch(48.22, 64.28, 347.26°)
OKLaboklab(57.93% 0.1911 -0.0371)
OKLCHoklch(57.93% 0.195 349)
XYZxyz(29.7514, 16.9651, 26.5137)
Luminance0.1696 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7398C #39C774
analogous
#BB39C7 #C7398C #C73945
triadic
#C7398C #8CC739 #398CC7
tetradic
#C7398C #C7BB39 #39C774 #3945C7
square
#C7398C #C7BB39 #39C774 #3945C7
split-complementary
#C7398C #45C739 #39C7BB
monochromatic
#681D49 #982B6B #C7398C #D469A8 #E298C3

Accessibility & contrast

On white

4.78
#C7398C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C7398C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7398C
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7398C#FFFFFF#000000##FFFFFF
##C7398C1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638E
Deuteranopia (green-blind)
#777C89
Tritanopia (blue-blind)
#D5325D
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c7398c;
/* rgb */ color: rgb(199, 57, 140);
/* oklch */ color: oklch(57.9% 0.195 349.0);
Tailwind
colors: {
  custom: {
    50: '#dc7bad',
    500: '#c7398c',
    950: '#000000',
  },
}
SCSS
$custom: #c7398c;
$custom-light: #dc7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7398c",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 140
  },
  "hsl": {
    "h": 324.93,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57931,
    "c": 0.19465,
    "h": 349
  },
  "luminance": 0.16962
}

Semantic roles & 50–950 ramp

primary
#C7398C
secondary
#8ECEA9
accent
#DF8749
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C7398C

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

Preview Lab → · Contrast checker → · Palette generator →

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