#C336A4#C336A4

#C336A4 is a mid, highly saturated pink. Relative luminance 0.169; OKLCH L 58.1% C 0.210 H 338.3°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#C336A4
RGBrgb(195, 54, 164)
HSLhsl(313, 57%, 49%)
HSVhsv(313, 72%, 76%)
CMYKcmyk(0%, 72.3%, 15.9%, 23.5%)
CIE-LABlab(48.16, 65.84, -28.65)
CIE-LCHlch(48.16, 71.81, 336.48°)
OKLaboklab(58.09% 0.1949 -0.0777)
OKLCHoklch(58.09% 0.21 338.3)
XYZxyz(30.5264, 16.9236, 36.7737)
Luminance0.1692 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336A4 #36C355
analogous
#9C36C3 #C336A4 #C3365E
triadic
#C336A4 #A4C336 #36A4C3
tetradic
#C336A4 #C39C36 #36C355 #365EC3
square
#C336A4 #C39C36 #36C355 #365EC3
split-complementary
#C336A4 #5EC336 #36C39C
monochromatic
#631B53 #93297C #C336A4 #D463BB #E192D0

Accessibility & contrast

On white

4.79
#C336A4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#C336A4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336A4
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336A4#FFFFFF#000000##FFFFFF
##C336A41.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C64A7
Deuteranopia (green-blind)
#6B7AA1
Tritanopia (blue-blind)
#CE3D69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c336a4;
/* rgb */ color: rgb(195, 54, 164);
/* oklch */ color: oklch(58.1% 0.210 338.3);
Tailwind
colors: {
  custom: {
    50: '#d97abf',
    500: '#c336a4',
    950: '#000000',
  },
}
SCSS
$custom: #c336a4;
$custom-light: #d97abf;
$custom-dark: #000000;
JSON
{
  "hex": "#c336a4",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 164
  },
  "hsl": {
    "h": 313.191,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58089,
    "c": 0.20984,
    "h": 338.3
  },
  "luminance": 0.16921
}

Semantic roles & 50–950 ramp

primary
#C336A4
secondary
#89CC98
accent
#E06948
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C336A4

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

Preview Lab → · Contrast checker → · Palette generator →

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