#C335A1#C335A1

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

Color values

HEX#C335A1
RGBrgb(195, 53, 161)
HSLhsl(314, 57%, 49%)
HSVhsv(314, 73%, 76%)
CMYKcmyk(0%, 72.8%, 17.4%, 23.5%)
CIE-LABlab(47.91, 65.76, -27.27)
CIE-LCHlch(47.91, 71.19, 337.48°)
OKLaboklab(57.86% 0.1955 -0.0737)
OKLCHoklch(57.86% 0.209 339.3)
XYZxyz(30.2126, 16.7244, 35.3483)
Luminance0.1672 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C335A1 #35C357
analogous
#9E35C3 #C335A1 #C3355A
triadic
#C335A1 #A1C335 #35A1C3
tetradic
#C335A1 #C39E35 #35C357 #355AC3
square
#C335A1 #C39E35 #35C357 #355AC3
split-complementary
#C335A1 #5AC335 #35C39E
monochromatic
#631B52 #932879 #C335A1 #D461B9 #E191CE

Accessibility & contrast

On white

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

On black

4.34
#C335A1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C335A1#FFFFFF#000000##FFFFFF
##C335A11.004.834.344.83
#FFFFFF4.831.0021.001.00
#0000004.3421.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E63A4
Deuteranopia (green-blind)
#6C7A9E
Tritanopia (blue-blind)
#CE3A67
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c335a1;
/* rgb */ color: rgb(195, 53, 161);
/* oklch */ color: oklch(57.9% 0.209 339.3);
Tailwind
colors: {
  custom: {
    50: '#d97abd',
    500: '#c335a1',
    950: '#000000',
  },
}
SCSS
$custom: #c335a1;
$custom-light: #d97abd;
$custom-dark: #000000;
JSON
{
  "hex": "#c335a1",
  "rgb": {
    "r": 195,
    "g": 53,
    "b": 161
  },
  "hsl": {
    "h": 314.366,
    "s": 57.258,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57861,
    "c": 0.20897,
    "h": 339.3
  },
  "luminance": 0.16722
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C335A1

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

Preview Lab → · Contrast checker → · Palette generator →

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