#C0397D#C0397D

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

Color values

HEX#C0397D
RGBrgb(192, 57, 125)
HSLhsl(330, 54%, 49%)
HSVhsv(330, 70%, 75%)
CMYKcmyk(0%, 70.3%, 34.9%, 24.7%)
CIE-LABlab(46.47, 59.04, -7.84)
CIE-LCHlch(46.47, 59.56, 352.43°)
OKLaboklab(56.25% 0.1807 -0.02)
OKLCHoklch(56.25% 0.182 353.7)
XYZxyz(26.9046, 15.6165, 20.9955)
Luminance0.1561 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0397D #39C07C
analogous
#C039C0 #C0397D #C03939
triadic
#C0397D #7DC039 #397DC0
tetradic
#C0397D #C0C039 #39C07C #3939C0
square
#C0397D #C0C039 #39C07C #3939C0
split-complementary
#C0397D #39C039 #39C0C0
monochromatic
#621D40 #912B5E #C0397D #D1659C #DF94BA

Accessibility & contrast

On white

5.09
#C0397D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0397D
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0397D#FFFFFF#000000##FFFFFF
##C0397D1.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#515E7F
Deuteranopia (green-blind)
#76777A
Tritanopia (blue-blind)
#CF2E56
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0397d;
/* rgb */ color: rgb(192, 57, 125);
/* oklch */ color: oklch(56.2% 0.182 353.7);
Tailwind
colors: {
  custom: {
    50: '#d87aa2',
    500: '#c0397d',
    950: '#000000',
  },
}
SCSS
$custom: #c0397d;
$custom-light: #d87aa2;
$custom-dark: #000000;
JSON
{
  "hex": "#c0397d",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 125
  },
  "hsl": {
    "h": 329.778,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56246,
    "c": 0.18184,
    "h": 353.7
  },
  "luminance": 0.15613
}

Semantic roles & 50–950 ramp

primary
#C0397D
secondary
#8ACBAA
accent
#DE934A
background
#FDF7F9
surface
#FBEEF2
border
#D4C9CC
text
#150A0F
muted
#837C7E

Preview Lab

Preview with #C0397D

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

Preview Lab → · Contrast checker → · Palette generator →

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