#C0397C#C0397C

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

Color values

HEX#C0397C
RGBrgb(192, 57, 124)
HSLhsl(330, 54%, 49%)
HSVhsv(330, 70%, 75%)
CMYKcmyk(0%, 70.3%, 35.4%, 24.7%)
CIE-LABlab(46.43, 58.93, -7.28)
CIE-LCHlch(46.43, 59.38, 352.95°)
OKLaboklab(56.21% 0.1805 -0.0185)
OKLCHoklch(56.21% 0.181 354.1)
XYZxyz(26.8411, 15.5911, 20.6608)
Luminance0.1559 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0397C #39C07D
analogous
#C039C0 #C0397C #C03939
triadic
#C0397C #7CC039 #397CC0
tetradic
#C0397C #C0C039 #39C07D #3939C0
square
#C0397C #C0C039 #39C07D #3939C0
split-complementary
#C0397C #39C039 #39C0C0
monochromatic
#621D3F #912B5E #C0397C #D1659B #DF94B9

Accessibility & contrast

On white

5.10
#C0397C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#C0397C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0397C
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0397C#FFFFFF#000000##FFFFFF
##C0397C1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7E
Deuteranopia (green-blind)
#777779
Tritanopia (blue-blind)
#CF2D56
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0397c;
/* rgb */ color: rgb(192, 57, 124);
/* oklch */ color: oklch(56.2% 0.181 354.1);
Tailwind
colors: {
  custom: {
    50: '#d87aa1',
    500: '#c0397c',
    950: '#000000',
  },
}
SCSS
$custom: #c0397c;
$custom-light: #d87aa1;
$custom-dark: #000000;
JSON
{
  "hex": "#c0397c",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 124
  },
  "hsl": {
    "h": 330.222,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.5621,
    "c": 0.1814,
    "h": 354.1
  },
  "luminance": 0.15588
}

Semantic roles & 50–950 ramp

primary
#C0397C
secondary
#8ACBAB
accent
#DE944A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #C0397C

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

Preview Lab → · Contrast checker → · Palette generator →

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