#C334A7#C334A7

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

Color values

HEX#C334A7
RGBrgb(195, 52, 167)
HSLhsl(312, 58%, 48%)
HSVhsv(312, 73%, 76%)
CMYKcmyk(0%, 73.3%, 14.4%, 23.5%)
CIE-LABlab(48.07, 66.92, -30.57)
CIE-LCHlch(48.07, 73.58, 335.45°)
OKLaboklab(58.07% 0.1972 -0.0831)
OKLCHoklch(58.07% 0.214 337.1)
XYZxyz(30.7093, 16.8510, 38.1869)
Luminance0.1685 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334A7 #34C350
analogous
#9734C3 #C334A7 #C3345F
triadic
#C334A7 #A7C334 #34A7C3
tetradic
#C334A7 #C39734 #34C350 #345FC3
square
#C334A7 #C39734 #34C350 #345FC3
split-complementary
#C334A7 #5FC334 #34C397
monochromatic
#621A54 #93277E #C334A7 #D560BE #E190D1

Accessibility & contrast

On white

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

On black

4.37
#C334A7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C334A7#FFFFFF#000000##FFFFFF
##C334A71.004.814.374.81
#FFFFFF4.811.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3864AA
Deuteranopia (green-blind)
#697AA4
Tritanopia (blue-blind)
#CD3D6A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c334a7;
/* rgb */ color: rgb(195, 52, 167);
/* oklch */ color: oklch(58.1% 0.214 337.1);
Tailwind
colors: {
  custom: {
    50: '#d979c1',
    500: '#c334a7',
    950: '#000000',
  },
}
SCSS
$custom: #c334a7;
$custom-light: #d979c1;
$custom-dark: #000000;
JSON
{
  "hex": "#c334a7",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 167
  },
  "hsl": {
    "h": 311.748,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.58067,
    "c": 0.21405,
    "h": 337.1
  },
  "luminance": 0.16848
}

Semantic roles & 50–950 ramp

primary
#C334A7
secondary
#87CC94
accent
#E16547
background
#FDF7FB
surface
#FBEEF7
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C334A7

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

Preview Lab → · Contrast checker → · Palette generator →

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