#C336AA#C336AA

#C336AA is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.4% C 0.214 H 336.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C336AA
RGBrgb(195, 54, 170)
HSLhsl(311, 57%, 49%)
HSVhsv(311, 72%, 76%)
CMYKcmyk(0%, 72.3%, 12.8%, 23.5%)
CIE-LABlab(48.44, 66.70, -31.77)
CIE-LCHlch(48.44, 73.88, 334.53°)
OKLaboklab(58.38% 0.1956 -0.0866)
OKLCHoklch(58.38% 0.214 336.1)
XYZxyz(31.0810, 17.1455, 39.6949)
Luminance0.1714 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336AA #36C34F
analogous
#9636C3 #C336AA #C33664
triadic
#C336AA #AAC336 #36AAC3
tetradic
#C336AA #C39636 #36C34F #3664C3
square
#C336AA #C39636 #36C34F #3664C3
split-complementary
#C336AA #64C336 #36C396
monochromatic
#631B56 #932980 #C336AA #D463C0 #E192D3

Accessibility & contrast

On white

4.74
#C336AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C336AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336AA
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336AA#FFFFFF#000000##FFFFFF
##C336AA1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3865AD
Deuteranopia (green-blind)
#697BA7
Tritanopia (blue-blind)
#CD406C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c336aa;
/* rgb */ color: rgb(195, 54, 170);
/* oklch */ color: oklch(58.4% 0.214 336.1);
Tailwind
colors: {
  custom: {
    50: '#d97ac3',
    500: '#c336aa',
    950: '#000000',
  },
}
SCSS
$custom: #c336aa;
$custom-light: #d97ac3;
$custom-dark: #000000;
JSON
{
  "hex": "#c336aa",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 170
  },
  "hsl": {
    "h": 310.638,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58381,
    "c": 0.2139,
    "h": 336.1
  },
  "luminance": 0.17143
}

Semantic roles & 50–950 ramp

primary
#C336AA
secondary
#89CC95
accent
#E06348
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C336AA

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

Preview Lab → · Contrast checker → · Palette generator →

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