#C335AB#C335AB

#C335AB is a mid, highly saturated pink. Relative luminance 0.171; OKLCH L 58.3% C 0.216 H 335.8°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#C335AB
RGBrgb(195, 53, 171)
HSLhsl(310, 57%, 49%)
HSVhsv(310, 73%, 76%)
CMYKcmyk(0%, 72.8%, 12.3%, 23.5%)
CIE-LABlab(48.38, 67.18, -32.46)
CIE-LCHlch(48.38, 74.61, 334.21°)
OKLaboklab(58.35% 0.1967 -0.0885)
OKLCHoklch(58.35% 0.216 335.8)
XYZxyz(31.1299, 17.0914, 40.1796)
Luminance0.1709 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C335AB #35C34D
analogous
#9435C3 #C335AB #C33564
triadic
#C335AB #ABC335 #35ABC3
tetradic
#C335AB #C39435 #35C34D #3564C3
square
#C335AB #C39435 #35C34D #3564C3
split-complementary
#C335AB #64C335 #35C394
monochromatic
#631B57 #932881 #C335AB #D461C1 #E191D4

Accessibility & contrast

On white

4.75
#C335AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#C335AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C335AB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C335AB#FFFFFF#000000##FFFFFF
##C335AB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AE
Deuteranopia (green-blind)
#687AA8
Tritanopia (blue-blind)
#CD3F6C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c335ab;
/* rgb */ color: rgb(195, 53, 171);
/* oklch */ color: oklch(58.3% 0.216 335.8);
Tailwind
colors: {
  custom: {
    50: '#d97ac4',
    500: '#c335ab',
    950: '#000000',
  },
}
SCSS
$custom: #c335ab;
$custom-light: #d97ac4;
$custom-dark: #000000;
JSON
{
  "hex": "#c335ab",
  "rgb": {
    "r": 195,
    "g": 53,
    "b": 171
  },
  "hsl": {
    "h": 310.141,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.58348,
    "c": 0.21569,
    "h": 335.8
  },
  "luminance": 0.17089
}

Semantic roles & 50–950 ramp

primary
#C335AB
secondary
#88CC93
accent
#E16147
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C335AB

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

Preview Lab → · Contrast checker → · Palette generator →

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