#C7398A#C7398A

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

Color values

HEX#C7398A
RGBrgb(199, 57, 138)
HSLhsl(326, 56%, 50%)
HSVhsv(326, 71%, 78%)
CMYKcmyk(0%, 71.4%, 30.7%, 22%)
CIE-LABlab(48.14, 62.46, -13.08)
CIE-LCHlch(48.14, 63.81, 348.17°)
OKLaboklab(57.85% 0.1906 -0.0341)
OKLCHoklch(57.85% 0.194 349.8)
XYZxyz(29.6053, 16.9067, 25.7441)
Luminance0.1690 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7398A #39C776
analogous
#BD39C7 #C7398A #C73943
triadic
#C7398A #8AC739 #398AC7
tetradic
#C7398A #C7BD39 #39C776 #3943C7
square
#C7398A #C7BD39 #39C776 #3943C7
split-complementary
#C7398A #43C739 #39C7BD
monochromatic
#681D48 #982B69 #C7398A #D469A6 #E298C2

Accessibility & contrast

On white

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

On black

4.38
#C7398A on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C7398A#FFFFFF#000000##FFFFFF
##C7398A1.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F628C
Deuteranopia (green-blind)
#787B87
Tritanopia (blue-blind)
#D5315C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c7398a;
/* rgb */ color: rgb(199, 57, 138);
/* oklch */ color: oklch(57.9% 0.194 349.8);
Tailwind
colors: {
  custom: {
    50: '#dc7bac',
    500: '#c7398a',
    950: '#000000',
  },
}
SCSS
$custom: #c7398a;
$custom-light: #dc7bac;
$custom-dark: #000000;
JSON
{
  "hex": "#c7398a",
  "rgb": {
    "r": 199,
    "g": 57,
    "b": 138
  },
  "hsl": {
    "h": 325.775,
    "s": 55.906,
    "l": 50.196
  },
  "oklch": {
    "l": 0.57852,
    "c": 0.19361,
    "h": 349.8
  },
  "luminance": 0.16903
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C7398A

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

Preview Lab → · Contrast checker → · Palette generator →

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