#C0397F#C0397F

#C0397F is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.3% C 0.183 H 352.8°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#C0397F
RGBrgb(192, 57, 127)
HSLhsl(329, 54%, 49%)
HSVhsv(329, 70%, 75%)
CMYKcmyk(0%, 70.3%, 33.9%, 24.7%)
CIE-LABlab(46.54, 59.27, -8.96)
CIE-LCHlch(46.54, 59.94, 351.41°)
OKLaboklab(56.32% 0.1813 -0.023)
OKLCHoklch(56.32% 0.183 352.8)
XYZxyz(27.0337, 15.6681, 21.6752)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0397F #39C07A
analogous
#BE39C0 #C0397F #C0393C
triadic
#C0397F #7FC039 #397FC0
tetradic
#C0397F #C0BE39 #39C07A #393CC0
square
#C0397F #C0BE39 #39C07A #393CC0
split-complementary
#C0397F #3CC039 #39C0BE
monochromatic
#621D41 #912B60 #C0397F #D1659D #DF94BB

Accessibility & contrast

On white

5.08
#C0397F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C0397F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0397F
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0397F#FFFFFF#000000##FFFFFF
##C0397F1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F81
Deuteranopia (green-blind)
#76777C
Tritanopia (blue-blind)
#CF2F57
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0397f;
/* rgb */ color: rgb(192, 57, 127);
/* oklch */ color: oklch(56.3% 0.183 352.8);
Tailwind
colors: {
  custom: {
    50: '#d77aa4',
    500: '#c0397f',
    950: '#000000',
  },
}
SCSS
$custom: #c0397f;
$custom-light: #d77aa4;
$custom-dark: #000000;
JSON
{
  "hex": "#c0397f",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 127
  },
  "hsl": {
    "h": 328.889,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.18276,
    "h": 352.8
  },
  "luminance": 0.15665
}

Semantic roles & 50–950 ramp

primary
#C0397F
secondary
#8ACBA9
accent
#DE914A
background
#FDF7FA
surface
#FBEEF4
border
#D4C9CE
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C0397F

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

Preview Lab → · Contrast checker → · Palette generator →

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