#C334A2#C334A2

#C334A2 is a mid, highly saturated pink. Relative luminance 0.167; OKLCH L 57.8% C 0.211 H 338.9°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#C334A2
RGBrgb(195, 52, 162)
HSLhsl(314, 58%, 48%)
HSVhsv(314, 73%, 76%)
CMYKcmyk(0%, 73.3%, 16.9%, 23.5%)
CIE-LABlab(47.84, 66.22, -27.97)
CIE-LCHlch(47.84, 71.89, 337.10°)
OKLaboklab(57.83% 0.1967 -0.0757)
OKLCHoklch(57.83% 0.211 338.9)
XYZxyz(30.2560, 16.6696, 35.7995)
Luminance0.1667 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C334A2 #34C355
analogous
#9C34C3 #C334A2 #C3345A
triadic
#C334A2 #A2C334 #34A2C3
tetradic
#C334A2 #C39C34 #34C355 #345AC3
square
#C334A2 #C39C34 #34C355 #345AC3
split-complementary
#C334A2 #5AC334 #34C39C
monochromatic
#621A52 #93277A #C334A2 #D560BA #E190CF

Accessibility & contrast

On white

4.85
#C334A2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#C334A2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C334A2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C334A2#FFFFFF#000000##FFFFFF
##C334A21.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C63A5
Deuteranopia (green-blind)
#6B7A9F
Tritanopia (blue-blind)
#CE3A67
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c334a2;
/* rgb */ color: rgb(195, 52, 162);
/* oklch */ color: oklch(57.8% 0.211 338.9);
Tailwind
colors: {
  custom: {
    50: '#d979be',
    500: '#c334a2',
    950: '#000000',
  },
}
SCSS
$custom: #c334a2;
$custom-light: #d979be;
$custom-dark: #000000;
JSON
{
  "hex": "#c334a2",
  "rgb": {
    "r": 195,
    "g": 52,
    "b": 162
  },
  "hsl": {
    "h": 313.846,
    "s": 57.895,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57826,
    "c": 0.21072,
    "h": 338.9
  },
  "luminance": 0.16667
}

Semantic roles & 50–950 ramp

primary
#C334A2
secondary
#87CC97
accent
#E16A47
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A12
muted
#837C81

Preview Lab

Preview with #C334A2

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

Preview Lab → · Contrast checker → · Palette generator →

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