#C336A8#C336A8

#C336A8 is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.213 H 336.8°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#C336A8
RGBrgb(195, 54, 168)
HSLhsl(311, 57%, 49%)
HSVhsv(311, 72%, 76%)
CMYKcmyk(0%, 72.3%, 13.8%, 23.5%)
CIE-LABlab(48.35, 66.41, -30.73)
CIE-LCHlch(48.35, 73.18, 335.17°)
OKLaboklab(58.28% 0.1954 -0.0836)
OKLCHoklch(58.28% 0.213 336.8)
XYZxyz(30.8933, 17.0704, 38.7061)
Luminance0.1707 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336A8 #36C351
analogous
#9836C3 #C336A8 #C33662
triadic
#C336A8 #A8C336 #36A8C3
tetradic
#C336A8 #C39836 #36C351 #3662C3
square
#C336A8 #C39836 #36C351 #3662C3
split-complementary
#C336A8 #62C336 #36C398
monochromatic
#631B55 #93297F #C336A8 #D463BE #E192D2

Accessibility & contrast

On white

4.76
#C336A8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#C336A8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336A8
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336A8#FFFFFF#000000##FFFFFF
##C336A81.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AB
Deuteranopia (green-blind)
#6A7AA5
Tritanopia (blue-blind)
#CD3F6B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c336a8;
/* rgb */ color: rgb(195, 54, 168);
/* oklch */ color: oklch(58.3% 0.213 336.8);
Tailwind
colors: {
  custom: {
    50: '#d97ac2',
    500: '#c336a8',
    950: '#000000',
  },
}
SCSS
$custom: #c336a8;
$custom-light: #d97ac2;
$custom-dark: #000000;
JSON
{
  "hex": "#c336a8",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 168
  },
  "hsl": {
    "h": 311.489,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58283,
    "c": 0.21254,
    "h": 336.8
  },
  "luminance": 0.17068
}

Semantic roles & 50–950 ramp

primary
#C336A8
secondary
#89CC96
accent
#E06548
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C336A8

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

Preview Lab → · Contrast checker → · Palette generator →

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