#C0336C#C0336C

#C0336C is a mid, vivid pink. Relative luminance 0.147; OKLCH L 55.1% C 0.182 H 0.7°. Best body text is #FFFFFF at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#C0336C
RGBrgb(192, 51, 108)
HSLhsl(336, 58%, 48%)
HSVhsv(336, 73%, 75%)
CMYKcmyk(0%, 73.4%, 43.7%, 24.7%)
CIE-LABlab(45.17, 59.39, 0.66)
CIE-LCHlch(45.17, 59.39, 0.64°)
OKLaboklab(55.11% 0.1822 0.0024)
OKLCHoklch(55.11% 0.182 0.7)
XYZxyz(25.6308, 14.6601, 15.6644)
Luminance0.1466 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0336C #33C087
analogous
#C033B2 #C0336C #C04133
triadic
#C0336C #6CC033 #336CC0
tetradic
#C0336C #B2C033 #33C087 #4133C0
square
#C0336C #B2C033 #33C087 #4133C0
split-complementary
#C0336C #33C041 #33B2C0
monochromatic
#5F1936 #902651 #C0336C #D45C8D #E18DAF

Accessibility & contrast

On white

5.34
#C0336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.93
#C0336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C0336C
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0336C#FFFFFF#000000##FFFFFF
##C0336C1.005.343.935.34
#FFFFFF5.341.0021.001.00
#0000003.9321.001.0021.00
##FFFFFF5.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6D
Deuteranopia (green-blind)
#787569
Tritanopia (blue-blind)
#D01C4B
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #c0336c;
/* rgb */ color: rgb(192, 51, 108);
/* oklch */ color: oklch(55.1% 0.182 0.7);
Tailwind
colors: {
  custom: {
    50: '#d87795',
    500: '#c0336c',
    950: '#000000',
  },
}
SCSS
$custom: #c0336c;
$custom-light: #d87795;
$custom-dark: #000000;
JSON
{
  "hex": "#c0336c",
  "rgb": {
    "r": 192,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 335.745,
    "s": 58.025,
    "l": 47.647
  },
  "oklch": {
    "l": 0.55111,
    "c": 0.18218,
    "h": 0.7
  },
  "luminance": 0.14657
}

Semantic roles & 50–950 ramp

primary
#C0336C
secondary
#84CBAE
accent
#E1A347
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C0336C

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

Preview Lab → · Contrast checker → · Palette generator →

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