#C0397B#C0397B

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

Color values

HEX#C0397B
RGBrgb(192, 57, 123)
HSLhsl(331, 54%, 49%)
HSVhsv(331, 70%, 75%)
CMYKcmyk(0%, 70.3%, 35.9%, 24.7%)
CIE-LABlab(46.40, 58.82, -6.72)
CIE-LCHlch(46.40, 59.20, 353.48°)
OKLaboklab(56.17% 0.1802 -0.017)
OKLCHoklch(56.17% 0.181 354.6)
XYZxyz(26.7781, 15.5659, 20.3294)
Luminance0.1556 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0397B #39C07E
analogous
#C039BF #C0397B #C03B39
triadic
#C0397B #7BC039 #397BC0
tetradic
#C0397B #BFC039 #39C07E #3B39C0
square
#C0397B #BFC039 #39C07E #3B39C0
split-complementary
#C0397B #39C03B #39BFC0
monochromatic
#621D3F #912B5D #C0397B #D1659A #DF94B9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0397B#FFFFFF#000000##FFFFFF
##C0397B1.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)
#515E7D
Deuteranopia (green-blind)
#777778
Tritanopia (blue-blind)
#CF2D55
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0397b;
/* rgb */ color: rgb(192, 57, 123);
/* oklch */ color: oklch(56.2% 0.181 354.6);
Tailwind
colors: {
  custom: {
    50: '#d87aa1',
    500: '#c0397b',
    950: '#000000',
  },
}
SCSS
$custom: #c0397b;
$custom-light: #d87aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c0397b",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 123
  },
  "hsl": {
    "h": 330.667,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56174,
    "c": 0.18096,
    "h": 354.6
  },
  "luminance": 0.15563
}

Semantic roles & 50–950 ramp

primary
#C0397B
secondary
#8ACBAB
accent
#DE964A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0E
muted
#837C7E

Preview Lab

Preview with #C0397B

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

Preview Lab → · Contrast checker → · Palette generator →

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