#C336A5#C336A5

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

Color values

HEX#C336A5
RGBrgb(195, 54, 165)
HSLhsl(313, 57%, 49%)
HSVhsv(313, 72%, 76%)
CMYKcmyk(0%, 72.3%, 15.4%, 23.5%)
CIE-LABlab(48.21, 65.99, -29.17)
CIE-LCHlch(48.21, 72.15, 336.15°)
OKLaboklab(58.14% 0.1951 -0.0792)
OKLCHoklch(58.14% 0.211 337.9)
XYZxyz(30.6170, 16.9599, 37.2511)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C336A5 #36C354
analogous
#9B36C3 #C336A5 #C3365F
triadic
#C336A5 #A5C336 #36A5C3
tetradic
#C336A5 #C39B36 #36C354 #365FC3
square
#C336A5 #C39B36 #36C354 #365FC3
split-complementary
#C336A5 #5FC336 #36C39B
monochromatic
#631B54 #93297C #C336A5 #D463BC #E192D0

Accessibility & contrast

On white

4.78
#C336A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C336A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C336A5
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C336A5#FFFFFF#000000##FFFFFF
##C336A51.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c336a5;
/* rgb */ color: rgb(195, 54, 165);
/* oklch */ color: oklch(58.1% 0.211 337.9);
Tailwind
colors: {
  custom: {
    50: '#d97ac0',
    500: '#c336a5',
    950: '#000000',
  },
}
SCSS
$custom: #c336a5;
$custom-light: #d97ac0;
$custom-dark: #000000;
JSON
{
  "hex": "#c336a5",
  "rgb": {
    "r": 195,
    "g": 54,
    "b": 165
  },
  "hsl": {
    "h": 312.766,
    "s": 56.627,
    "l": 48.824
  },
  "oklch": {
    "l": 0.58137,
    "c": 0.21051,
    "h": 337.9
  },
  "luminance": 0.16957
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C336A5

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

Preview Lab → · Contrast checker → · Palette generator →

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