#C0397A#C0397A

#C0397A is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.1% C 0.181 H 355.1°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#C0397A
RGBrgb(192, 57, 122)
HSLhsl(331, 54%, 49%)
HSVhsv(331, 70%, 75%)
CMYKcmyk(0%, 70.3%, 36.5%, 24.7%)
CIE-LABlab(46.37, 58.71, -6.16)
CIE-LCHlch(46.37, 59.03, 354.01°)
OKLaboklab(56.14% 0.1799 -0.0155)
OKLCHoklch(56.14% 0.181 355.1)
XYZxyz(26.7159, 15.5410, 20.0014)
Luminance0.1554 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0397A #39C07F
analogous
#C039BE #C0397A #C03C39
triadic
#C0397A #7AC039 #397AC0
tetradic
#C0397A #BEC039 #39C07F #3C39C0
square
#C0397A #BEC039 #39C07F #3C39C0
split-complementary
#C0397A #39C03C #39BEC0
monochromatic
#621D3E #912B5C #C0397A #D16599 #DF94B8

Accessibility & contrast

On white

5.11
#C0397A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#C0397A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0397A
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0397A#FFFFFF#000000##FFFFFF
##C0397A1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525E7C
Deuteranopia (green-blind)
#777777
Tritanopia (blue-blind)
#CF2C55
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0397a;
/* rgb */ color: rgb(192, 57, 122);
/* oklch */ color: oklch(56.1% 0.181 355.1);
Tailwind
colors: {
  custom: {
    50: '#d87aa0',
    500: '#c0397a',
    950: '#000000',
  },
}
SCSS
$custom: #c0397a;
$custom-light: #d87aa0;
$custom-dark: #000000;
JSON
{
  "hex": "#c0397a",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 122
  },
  "hsl": {
    "h": 331.111,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56139,
    "c": 0.18053,
    "h": 355.1
  },
  "luminance": 0.15538
}

Semantic roles & 50–950 ramp

primary
#C0397A
secondary
#8ACBAC
accent
#DE974A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C0397A

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

Preview Lab → · Contrast checker → · Palette generator →

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