#C0399B#C0399B

#C0399B is a mid, vivid pink. Relative luminance 0.165; OKLCH L 57.5% C 0.199 H 340.9°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#C0399B
RGBrgb(192, 57, 155)
HSLhsl(316, 54%, 49%)
HSVhsv(316, 70%, 75%)
CMYKcmyk(0%, 70.3%, 19.3%, 24.7%)
CIE-LABlab(47.63, 62.81, -24.17)
CIE-LCHlch(47.63, 67.30, 338.95°)
OKLaboklab(57.47% 0.1876 -0.0651)
OKLCHoklch(57.47% 0.199 340.9)
XYZxyz(29.1186, 16.5021, 32.6557)
Luminance0.1650 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0399B #39C05E
analogous
#A239C0 #C0399B #C03958
triadic
#C0399B #9BC039 #399BC0
tetradic
#C0399B #C0A239 #39C05E #3958C0
square
#C0399B #C0A239 #39C05E #3958C0
split-complementary
#C0399B #58C039 #39C0A2
monochromatic
#621D4F #912B75 #C0399B #D165B4 #DF94CB

Accessibility & contrast

On white

4.88
#C0399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#C0399B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0399B
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0399B#FFFFFF#000000##FFFFFF
##C0399B1.004.884.304.88
#FFFFFF4.881.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#43639E
Deuteranopia (green-blind)
#6D7998
Tritanopia (blue-blind)
#CB3C65
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c0399b;
/* rgb */ color: rgb(192, 57, 155);
/* oklch */ color: oklch(57.5% 0.199 340.9);
Tailwind
colors: {
  custom: {
    50: '#d77bb8',
    500: '#c0399b',
    950: '#000000',
  },
}
SCSS
$custom: #c0399b;
$custom-light: #d77bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#c0399b",
  "rgb": {
    "r": 192,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 316.444,
    "s": 54.217,
    "l": 48.824
  },
  "oklch": {
    "l": 0.57473,
    "c": 0.19856,
    "h": 340.9
  },
  "luminance": 0.16499
}

Semantic roles & 50–950 ramp

primary
#C0399B
secondary
#8ACB9C
accent
#DE734A
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C0399B

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

Preview Lab → · Contrast checker → · Palette generator →

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