#C336AB#C336AB

#C336AB is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.4% C 0.215 H 335.8°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#C336AB
RGBrgb(195, 54, 171)
HSLhsl(310, 57%, 49%)
HSVhsv(310, 72%, 76%)
CMYKcmyk(0%, 72.3%, 12.3%, 23.5%)
CIE-LABlab(48.49, 66.85, -32.28)
CIE-LCHlch(48.49, 74.23, 334.22°)
OKLaboklab(58.43% 0.1957 -0.088)
OKLCHoklch(58.43% 0.215 335.8)
XYZxyz(31.1760, 17.1835, 40.1950)
Luminance0.1718 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336AB #36C34E
analogous
#9536C3 #C336AB #C33665
triadic
#C336AB #ABC336 #36ABC3
tetradic
#C336AB #C39536 #36C34E #3665C3
square
#C336AB #C39536 #36C34E #3665C3
split-complementary
#C336AB #65C336 #36C395
monochromatic
#631B57 #932981 #C336AB #D463C0 #E192D4

Accessibility & contrast

On white

4.73
#C336AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.44
#C336AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336AB
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336AB#FFFFFF#000000##FFFFFF
##C336AB1.004.734.444.73
#FFFFFF4.731.0021.001.00
#0000004.4421.001.0021.00
##FFFFFF4.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3766AE
Deuteranopia (green-blind)
#687BA8
Tritanopia (blue-blind)
#CD406D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c336ab;
/* rgb */ color: rgb(195, 54, 171);
/* oklch */ color: oklch(58.4% 0.215 335.8);
Tailwind
colors: {
  custom: {
    50: '#d97ac4',
    500: '#c336ab',
    950: '#000000',
  },
}
SCSS
$custom: #c336ab;
$custom-light: #d97ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#c336ab",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 171
  },
  "hsl": {
    "h": 310.213,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.21459,
    "h": 335.8
  },
  "luminance": 0.17181
}

Semantic roles & 50–950 ramp

primary
#C336AB
secondary
#89CC94
accent
#E06248
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C336AB

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

Preview Lab → · Contrast checker → · Palette generator →

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