#C7398D#C7398D

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

Color values

HEX#C7398D
RGBrgb(199, 57, 141)
HSLhsl(325, 56%, 50%)
HSVhsv(325, 71%, 78%)
CMYKcmyk(0%, 71.4%, 29.1%, 22%)
CIE-LABlab(48.25, 62.82, -14.72)
CIE-LCHlch(48.25, 64.52, 346.81°)
OKLaboklab(57.97% 0.1913 -0.0386)
OKLCHoklch(57.97% 0.195 348.6)
XYZxyz(29.8255, 16.9948, 26.9038)
Luminance0.1699 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7398D #39C773
analogous
#BA39C7 #C7398D #C73946
triadic
#C7398D #8DC739 #398DC7
tetradic
#C7398D #C7BA39 #39C773 #3946C7
square
#C7398D #C7BA39 #39C773 #3946C7
split-complementary
#C7398D #46C739 #39C7BA
monochromatic
#681D4A #982B6B #C7398D #D469A8 #E298C4

Accessibility & contrast

On white

4.77
#C7398D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C7398D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C7398D
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7398D#FFFFFF#000000##FFFFFF
##C7398D1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E638F
Deuteranopia (green-blind)
#777C8A
Tritanopia (blue-blind)
#D5335E
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c7398d;
/* rgb */ color: rgb(199, 57, 141);
/* oklch */ color: oklch(58.0% 0.195 348.6);
Tailwind
colors: {
  custom: {
    50: '#dc7bae',
    500: '#c7398d',
    950: '#000000',
  },
}
SCSS
$custom: #c7398d;
$custom-light: #dc7bae;
$custom-dark: #000000;
JSON
{
  "hex": "#c7398d",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 141
  },
  "hsl": {
    "h": 324.507,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.19517,
    "h": 348.6
  },
  "luminance": 0.16991
}

Semantic roles & 50–950 ramp

primary
#C7398D
secondary
#8ECEA8
accent
#DF8649
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C7398D

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

Preview Lab → · Contrast checker → · Palette generator →

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