#C7398E#C7398E

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

Color values

HEX#C7398E
RGBrgb(199, 57, 142)
HSLhsl(324, 56%, 50%)
HSVhsv(324, 71%, 78%)
CMYKcmyk(0%, 71.4%, 28.6%, 22%)
CIE-LABlab(48.29, 62.94, -15.26)
CIE-LCHlch(48.29, 64.76, 346.37°)
OKLaboklab(58.01% 0.1916 -0.0401)
OKLCHoklch(58.01% 0.196 348.2)
XYZxyz(29.9002, 17.0247, 27.2974)
Luminance0.1702 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7398E #39C772
analogous
#B939C7 #C7398E #C73947
triadic
#C7398E #8EC739 #398EC7
tetradic
#C7398E #C7B939 #39C772 #3947C7
square
#C7398E #C7B939 #39C772 #3947C7
split-complementary
#C7398E #47C739 #39C7B9
monochromatic
#681D4A #982B6C #C7398E #D469A9 #E298C4

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7398E#FFFFFF#000000##FFFFFF
##C7398E1.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)
#4D6390
Deuteranopia (green-blind)
#777C8B
Tritanopia (blue-blind)
#D5335F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c7398e;
/* rgb */ color: rgb(199, 57, 142);
/* oklch */ color: oklch(58.0% 0.196 348.2);
Tailwind
colors: {
  custom: {
    50: '#dc7baf',
    500: '#c7398e',
    950: '#000000',
  },
}
SCSS
$custom: #c7398e;
$custom-light: #dc7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#c7398e",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 324.085,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.5801,
    "c": 0.19571,
    "h": 348.2
  },
  "luminance": 0.17021
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7398E

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

Preview Lab → · Contrast checker → · Palette generator →

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