#C336A6#C336A6

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

Color values

HEX#C336A6
RGBrgb(195, 54, 166)
HSLhsl(312, 57%, 49%)
HSVhsv(312, 72%, 76%)
CMYKcmyk(0%, 72.3%, 14.9%, 23.5%)
CIE-LABlab(48.26, 66.13, -29.69)
CIE-LCHlch(48.26, 72.49, 335.82°)
OKLaboklab(58.18% 0.1952 -0.0806)
OKLCHoklch(58.18% 0.211 337.5)
XYZxyz(30.7084, 16.9965, 37.7324)
Luminance0.1699 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336A6 #36C353
analogous
#9A36C3 #C336A6 #C33660
triadic
#C336A6 #A6C336 #36A6C3
tetradic
#C336A6 #C39A36 #36C353 #3660C3
square
#C336A6 #C39A36 #36C353 #3660C3
split-complementary
#C336A6 #60C336 #36C39A
monochromatic
#631B54 #93297D #C336A6 #D463BC #E192D1

Accessibility & contrast

On white

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

On black

4.40
#C336A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C336A6#FFFFFF#000000##FFFFFF
##C336A61.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B65A9
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#CE3E6A
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c336a6;
/* rgb */ color: rgb(195, 54, 166);
/* oklch */ color: oklch(58.2% 0.211 337.5);
Tailwind
colors: {
  custom: {
    50: '#d97ac0',
    500: '#c336a6',
    950: '#000000',
  },
}
SCSS
$custom: #c336a6;
$custom-light: #d97ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#c336a6",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 166
  },
  "hsl": {
    "h": 312.34,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58185,
    "c": 0.21118,
    "h": 337.5
  },
  "luminance": 0.16994
}

Semantic roles & 50–950 ramp

primary
#C336A6
secondary
#89CC97
accent
#E06748
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C336A6

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

Preview Lab → · Contrast checker → · Palette generator →

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