#C335A2#C335A2

#C335A2 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 57.9% C 0.210 H 339.0°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C335A2
RGBrgb(195, 53, 162)
HSLhsl(314, 57%, 49%)
HSVhsv(314, 73%, 76%)
CMYKcmyk(0%, 72.8%, 16.9%, 23.5%)
CIE-LABlab(47.96, 65.90, -27.79)
CIE-LCHlch(47.96, 71.52, 337.13°)
OKLaboklab(57.91% 0.1957 -0.0752)
OKLCHoklch(57.91% 0.21 339)
XYZxyz(30.3011, 16.7598, 35.8146)
Luminance0.1676 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C335A2 #35C356
analogous
#9D35C3 #C335A2 #C3355B
triadic
#C335A2 #A2C335 #35A2C3
tetradic
#C335A2 #C39D35 #35C356 #355BC3
square
#C335A2 #C39D35 #35C356 #355BC3
split-complementary
#C335A2 #5BC335 #35C39D
monochromatic
#631B52 #93287A #C335A2 #D461B9 #E191CF

Accessibility & contrast

On white

4.83
#C335A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C335A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C335A2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C335A2#FFFFFF#000000##FFFFFF
##C335A21.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D64A5
Deuteranopia (green-blind)
#6C7A9F
Tritanopia (blue-blind)
#CE3B67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c335a2;
/* rgb */ color: rgb(195, 53, 162);
/* oklch */ color: oklch(57.9% 0.210 339.0);
Tailwind
colors: {
  custom: {
    50: '#d97abe',
    500: '#c335a2',
    950: '#000000',
  },
}
SCSS
$custom: #c335a2;
$custom-light: #d97abe;
$custom-dark: #000000;
JSON
{
  "hex": "#c335a2",
  "rgb": {
    "r": 195,
    "g": 53,
    "b": 162
  },
  "hsl": {
    "h": 313.944,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57909,
    "c": 0.20963,
    "h": 339
  },
  "luminance": 0.16757
}

Semantic roles & 50–950 ramp

primary
#C335A2
secondary
#88CC98
accent
#E16B47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C335A2

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

Preview Lab → · Contrast checker → · Palette generator →

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