#C336A7#C336A7

#C336A7 is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.212 H 337.2°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C336A7
RGBrgb(195, 54, 167)
HSLhsl(312, 57%, 49%)
HSVhsv(312, 72%, 76%)
CMYKcmyk(0%, 72.3%, 14.4%, 23.5%)
CIE-LABlab(48.30, 66.27, -30.21)
CIE-LCHlch(48.30, 72.83, 335.49°)
OKLaboklab(58.23% 0.1953 -0.0821)
OKLCHoklch(58.23% 0.212 337.2)
XYZxyz(30.8005, 17.0333, 38.2173)
Luminance0.1703 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336A7 #36C352
analogous
#9936C3 #C336A7 #C33661
triadic
#C336A7 #A7C336 #36A7C3
tetradic
#C336A7 #C39936 #36C352 #3661C3
square
#C336A7 #C39936 #36C352 #3661C3
split-complementary
#C336A7 #61C336 #36C399
monochromatic
#631B55 #93297E #C336A7 #D463BD #E192D1

Accessibility & contrast

On white

4.77
#C336A7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C336A7
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336A7#FFFFFF#000000##FFFFFF
##C336A71.004.774.414.77
#FFFFFF4.771.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A65AA
Deuteranopia (green-blind)
#6A7AA4
Tritanopia (blue-blind)
#CD3E6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c336a7;
/* rgb */ color: rgb(195, 54, 167);
/* oklch */ color: oklch(58.2% 0.212 337.2);
Tailwind
colors: {
  custom: {
    50: '#d97ac1',
    500: '#c336a7',
    950: '#000000',
  },
}
SCSS
$custom: #c336a7;
$custom-light: #d97ac1;
$custom-dark: #000000;
JSON
{
  "hex": "#c336a7",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 167
  },
  "hsl": {
    "h": 311.915,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58234,
    "c": 0.21186,
    "h": 337.2
  },
  "luminance": 0.1703
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C336A7

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

Preview Lab → · Contrast checker → · Palette generator →

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