#C334A5#C334A5

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

Color values

HEX#C334A5
RGBrgb(195, 52, 165)
HSLhsl(313, 58%, 48%)
HSVhsv(313, 73%, 76%)
CMYKcmyk(0%, 73.3%, 15.4%, 23.5%)
CIE-LABlab(47.98, 66.64, -29.53)
CIE-LCHlch(47.98, 72.89, 336.10°)
OKLaboklab(57.97% 0.197 -0.0802)
OKLCHoklch(57.97% 0.213 337.9)
XYZxyz(30.5258, 16.7776, 37.2207)
Luminance0.1678 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334A5 #34C352
analogous
#9934C3 #C334A5 #C3345E
triadic
#C334A5 #A5C334 #34A5C3
tetradic
#C334A5 #C39934 #34C352 #345EC3
square
#C334A5 #C39934 #34C352 #345EC3
split-complementary
#C334A5 #5EC334 #34C399
monochromatic
#621A53 #93277C #C334A5 #D560BC #E190D0

Accessibility & contrast

On white

4.82
#C334A5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C334A5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334A5
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334A5#FFFFFF#000000##FFFFFF
##C334A51.004.824.354.82
#FFFFFF4.821.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A64A8
Deuteranopia (green-blind)
#6A7AA2
Tritanopia (blue-blind)
#CE3C69
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c334a5;
/* rgb */ color: rgb(195, 52, 165);
/* oklch */ color: oklch(58.0% 0.213 337.9);
Tailwind
colors: {
  custom: {
    50: '#d979c0',
    500: '#c334a5',
    950: '#000000',
  },
}
SCSS
$custom: #c334a5;
$custom-light: #d979c0;
$custom-dark: #000000;
JSON
{
  "hex": "#c334a5",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 165
  },
  "hsl": {
    "h": 312.587,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.5797,
    "c": 0.21271,
    "h": 337.9
  },
  "luminance": 0.16775
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C334A5

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

Preview Lab → · Contrast checker → · Palette generator →

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