#C334AA#C334AA

#C334AA is a mid, highly saturated pink. Relative luminance 0.170; OKLCH L 58.2% C 0.216 H 336.1°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#C334AA
RGBrgb(195, 52, 170)
HSLhsl(310, 58%, 48%)
HSVhsv(310, 73%, 76%)
CMYKcmyk(0%, 73.3%, 12.8%, 23.5%)
CIE-LABlab(48.21, 67.35, -32.12)
CIE-LCHlch(48.21, 74.62, 334.50°)
OKLaboklab(58.22% 0.1975 -0.0876)
OKLCHoklch(58.22% 0.216 336.1)
XYZxyz(30.9899, 16.9632, 39.6645)
Luminance0.1696 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334AA #34C34D
analogous
#9534C3 #C334AA #C33462
triadic
#C334AA #AAC334 #34AAC3
tetradic
#C334AA #C39534 #34C34D #3462C3
square
#C334AA #C39534 #34C34D #3462C3
split-complementary
#C334AA #62C334 #34C395
monochromatic
#621A56 #932780 #C334AA #D560C0 #E190D3

Accessibility & contrast

On white

4.78
#C334AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#C334AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334AA
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334AA#FFFFFF#000000##FFFFFF
##C334AA1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3665AD
Deuteranopia (green-blind)
#687AA7
Tritanopia (blue-blind)
#CD3E6B
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c334aa;
/* rgb */ color: rgb(195, 52, 170);
/* oklch */ color: oklch(58.2% 0.216 336.1);
Tailwind
colors: {
  custom: {
    50: '#d979c3',
    500: '#c334aa',
    950: '#000000',
  },
}
SCSS
$custom: #c334aa;
$custom-light: #d979c3;
$custom-dark: #000000;
JSON
{
  "hex": "#c334aa",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 170
  },
  "hsl": {
    "h": 310.49,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58216,
    "c": 0.21608,
    "h": 336.1
  },
  "luminance": 0.1696
}

Semantic roles & 50–950 ramp

primary
#C334AA
secondary
#87CC93
accent
#E16247
background
#FDF7FC
surface
#FBEEF8
border
#D4C9D1
text
#150A12
muted
#837C81

Preview Lab

Preview with #C334AA

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

Preview Lab → · Contrast checker → · Palette generator →

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