#C0397E#C0397E

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

Color values

HEX#C0397E
RGBrgb(192, 57, 126)
HSLhsl(329, 54%, 49%)
HSVhsv(329, 70%, 75%)
CMYKcmyk(0%, 70.3%, 34.4%, 24.7%)
CIE-LABlab(46.50, 59.15, -8.40)
CIE-LCHlch(46.50, 59.75, 351.92°)
OKLaboklab(56.28% 0.181 -0.0215)
OKLCHoklch(56.28% 0.182 353.2)
XYZxyz(26.9688, 15.6422, 21.3336)
Luminance0.1564 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0397E #39C07B
analogous
#BF39C0 #C0397E #C0393B
triadic
#C0397E #7EC039 #397EC0
tetradic
#C0397E #C0BF39 #39C07B #393BC0
square
#C0397E #C0BF39 #39C07B #393BC0
split-complementary
#C0397E #3BC039 #39C0BF
monochromatic
#621D40 #912B5F #C0397E #D1659C #DF94BB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C0397E#FFFFFF#000000##FFFFFF
##C0397E1.005.094.135.09
#FFFFFF5.091.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505F80
Deuteranopia (green-blind)
#76777B
Tritanopia (blue-blind)
#CF2E57
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c0397e;
/* rgb */ color: rgb(192, 57, 126);
/* oklch */ color: oklch(56.3% 0.182 353.2);
Tailwind
colors: {
  custom: {
    50: '#d87aa3',
    500: '#c0397e',
    950: '#000000',
  },
}
SCSS
$custom: #c0397e;
$custom-light: #d87aa3;
$custom-dark: #000000;
JSON
{
  "hex": "#c0397e",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 126
  },
  "hsl": {
    "h": 329.333,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.56282,
    "c": 0.1823,
    "h": 353.2
  },
  "luminance": 0.15639
}

Semantic roles & 50–950 ramp

primary
#C0397E
secondary
#8ACBAA
accent
#DE924A
background
#FDF7FA
surface
#FBEEF3
border
#D4C9CD
text
#150A0F
muted
#837C7F

Preview Lab

Preview with #C0397E

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

Preview Lab → · Contrast checker → · Palette generator →

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