#C7398B#C7398B

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

Color values

HEX#C7398B
RGBrgb(199, 57, 139)
HSLhsl(325, 56%, 50%)
HSVhsv(325, 71%, 78%)
CMYKcmyk(0%, 71.4%, 30.2%, 22%)
CIE-LABlab(48.18, 62.58, -13.63)
CIE-LCHlch(48.18, 64.04, 347.71°)
OKLaboklab(57.89% 0.1908 -0.0356)
OKLCHoklch(57.89% 0.194 349.4)
XYZxyz(29.6780, 16.9358, 26.1271)
Luminance0.1693 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7398B #39C775
analogous
#BC39C7 #C7398B #C73944
triadic
#C7398B #8BC739 #398BC7
tetradic
#C7398B #C7BC39 #39C775 #3944C7
square
#C7398B #C7BC39 #39C775 #3944C7
split-complementary
#C7398B #44C739 #39C7BC
monochromatic
#681D49 #982B6A #C7398B #D469A7 #E298C3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7398B#FFFFFF#000000##FFFFFF
##C7398B1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7398b;
/* rgb */ color: rgb(199, 57, 139);
/* oklch */ color: oklch(57.9% 0.194 349.4);
Tailwind
colors: {
  custom: {
    50: '#dc7bad',
    500: '#c7398b',
    950: '#000000',
  },
}
SCSS
$custom: #c7398b;
$custom-light: #dc7bad;
$custom-dark: #000000;
JSON
{
  "hex": "#c7398b",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 139
  },
  "hsl": {
    "h": 325.352,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57891,
    "c": 0.19412,
    "h": 349.4
  },
  "luminance": 0.16932
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7398B

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

Preview Lab → · Contrast checker → · Palette generator →

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