#C334A6#C334A6

#C334A6 is a mid, highly saturated pink. Relative luminance 0.168; OKLCH L 58.0% C 0.213 H 337.5°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C334A6
RGBrgb(195, 52, 166)
HSLhsl(312, 58%, 48%)
HSVhsv(312, 73%, 76%)
CMYKcmyk(0%, 73.3%, 14.9%, 23.5%)
CIE-LABlab(48.02, 66.78, -30.05)
CIE-LCHlch(48.02, 73.23, 335.77°)
OKLaboklab(58.02% 0.1971 -0.0817)
OKLCHoklch(58.02% 0.213 337.5)
XYZxyz(30.6172, 16.8141, 37.7020)
Luminance0.1681 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334A6 #34C351
analogous
#9834C3 #C334A6 #C3345E
triadic
#C334A6 #A6C334 #34A6C3
tetradic
#C334A6 #C39834 #34C351 #345EC3
square
#C334A6 #C39834 #34C351 #345EC3
split-complementary
#C334A6 #5EC334 #34C398
monochromatic
#621A54 #93277D #C334A6 #D560BD #E190D1

Accessibility & contrast

On white

4.81
#C334A6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C334A6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334A6
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334A6#FFFFFF#000000##FFFFFF
##C334A61.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3964A9
Deuteranopia (green-blind)
#6A7AA3
Tritanopia (blue-blind)
#CE3C69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c334a6;
/* rgb */ color: rgb(195, 52, 166);
/* oklch */ color: oklch(58.0% 0.213 337.5);
Tailwind
colors: {
  custom: {
    50: '#d979c0',
    500: '#c334a6',
    950: '#000000',
  },
}
SCSS
$custom: #c334a6;
$custom-light: #d979c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c334a6",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 166
  },
  "hsl": {
    "h": 312.168,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58018,
    "c": 0.21337,
    "h": 337.5
  },
  "luminance": 0.16811
}

Semantic roles & 50–950 ramp

primary
#C334A6
secondary
#87CC95
accent
#E16647
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C334A6

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

Preview Lab → · Contrast checker → · Palette generator →

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