#C334AB#C334AB

#C334AB is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.3% C 0.217 H 335.7°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#C334AB
RGBrgb(195, 52, 171)
HSLhsl(310, 58%, 48%)
HSVhsv(310, 73%, 76%)
CMYKcmyk(0%, 73.3%, 12.3%, 23.5%)
CIE-LABlab(48.26, 67.50, -32.64)
CIE-LCHlch(48.26, 74.98, 334.19°)
OKLaboklab(58.27% 0.1976 -0.089)
OKLCHoklch(58.27% 0.217 335.7)
XYZxyz(31.0848, 17.0012, 40.1646)
Luminance0.1700 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334AB #34C34C
analogous
#9334C3 #C334AB #C33463
triadic
#C334AB #ABC334 #34ABC3
tetradic
#C334AB #C39334 #34C34C #3463C3
square
#C334AB #C39334 #34C34C #3463C3
split-complementary
#C334AB #63C334 #34C393
monochromatic
#621A56 #932781 #C334AB #D560C1 #E190D4

Accessibility & contrast

On white

4.77
#C334AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#C334AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334AB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334AB#FFFFFF#000000##FFFFFF
##C334AB1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c334ab;
/* rgb */ color: rgb(195, 52, 171);
/* oklch */ color: oklch(58.3% 0.217 335.7);
Tailwind
colors: {
  custom: {
    50: '#d979c4',
    500: '#c334ab',
    950: '#000000',
  },
}
SCSS
$custom: #c334ab;
$custom-light: #d979c4;
$custom-dark: #000000;
JSON
{
  "hex": "#c334ab",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 171
  },
  "hsl": {
    "h": 310.07,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58266,
    "c": 0.21677,
    "h": 335.7
  },
  "luminance": 0.16998
}

Semantic roles & 50–950 ramp

primary
#C334AB
secondary
#87CC92
accent
#E16147
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A13
muted
#837C82

Preview Lab

Preview with #C334AB

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

Preview Lab → · Contrast checker → · Palette generator →

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