#C03399#C03399

#C03399 is a mid, highly saturated pink. Relative luminance 0.159; OKLCH L 56.9% C 0.204 H 341.4°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#C03399
RGBrgb(192, 51, 153)
HSLhsl(317, 58%, 48%)
HSVhsv(317, 73%, 75%)
CMYKcmyk(0%, 73.4%, 20.3%, 24.7%)
CIE-LABlab(46.81, 64.59, -24.24)
CIE-LCHlch(46.81, 68.99, 339.43°)
OKLaboklab(56.85% 0.1935 -0.0652)
OKLCHoklch(56.85% 0.204 341.4)
XYZxyz(28.6727, 15.8769, 31.6853)
Luminance0.1587 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C03399 #33C05A
analogous
#A133C0 #C03399 #C03352
triadic
#C03399 #99C033 #3399C0
tetradic
#C03399 #C0A133 #33C05A #3352C0
square
#C03399 #C0A133 #33C05A #3352C0
split-complementary
#C03399 #52C033 #33C0A1
monochromatic
#5F194C #902672 #C03399 #D45CB3 #E18DC9

Accessibility & contrast

On white

5.03
#C03399 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.17
#C03399 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C03399
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C03399#FFFFFF#000000##FFFFFF
##C033991.005.034.175.03
#FFFFFF5.031.0021.001.00
#0000004.1721.001.0021.00
##FFFFFF5.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F609C
Deuteranopia (green-blind)
#6C7796
Tritanopia (blue-blind)
#CC3662
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c03399;
/* rgb */ color: rgb(192, 51, 153);
/* oklch */ color: oklch(56.9% 0.204 341.4);
Tailwind
colors: {
  custom: {
    50: '#d778b7',
    500: '#c03399',
    950: '#000000',
  },
}
SCSS
$custom: #c03399;
$custom-light: #d778b7;
$custom-dark: #000000;
JSON
{
  "hex": "#c03399",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 153
  },
  "hsl": {
    "h": 316.596,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.56853,
    "c": 0.2042,
    "h": 341.4
  },
  "luminance": 0.15874
}

Semantic roles & 50–950 ramp

primary
#C03399
secondary
#84CB98
accent
#E17147
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C03399

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

Preview Lab → · Contrast checker → · Palette generator →

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