#C4339E#C4339E

#C4339E is a mid, highly saturated pink. Relative luminance 0.166; OKLCH L 57.7% C 0.210 H 340.7°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#C4339E
RGBrgb(196, 51, 158)
HSLhsl(316, 59%, 48%)
HSVhsv(316, 74%, 77%)
CMYKcmyk(0%, 74%, 19.4%, 23.1%)
CIE-LABlab(47.72, 66.24, -25.76)
CIE-LCHlch(47.72, 71.07, 338.75°)
OKLaboklab(57.71% 0.198 -0.0694)
OKLCHoklch(57.71% 0.21 340.7)
XYZxyz(30.1212, 16.5750, 33.9541)
Luminance0.1657 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4339E #33C459
analogous
#A133C4 #C4339E #C43355
triadic
#C4339E #9EC433 #339EC4
tetradic
#C4339E #C4A133 #33C459 #3355C4
square
#C4339E #C4A133 #33C459 #3355C4
split-complementary
#C4339E #55C433 #33C4A1
monochromatic
#631A50 #932677 #C4339E #D55FB6 #E28FCC

Accessibility & contrast

On white

4.87
#C4339E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#C4339E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4339E
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4339E#FFFFFF#000000##FFFFFF
##C4339E1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E62A1
Deuteranopia (green-blind)
#6D7A9B
Tritanopia (blue-blind)
#D03765
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #c4339e;
/* rgb */ color: rgb(196, 51, 158);
/* oklch */ color: oklch(57.7% 0.210 340.7);
Tailwind
colors: {
  custom: {
    50: '#da79bb',
    500: '#c4339e',
    950: '#000000',
  },
}
SCSS
$custom: #c4339e;
$custom-light: #da79bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c4339e",
  "rgb": {
    "r": 196,
    "g": 51,
    "b": 158
  },
  "hsl": {
    "h": 315.724,
    "s": 58.704,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57712,
    "c": 0.20984,
    "h": 340.7
  },
  "luminance": 0.16572
}

Semantic roles & 50–950 ramp

primary
#C4339E
secondary
#86CD99
accent
#E26F46
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C4339E

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

Preview Lab → · Contrast checker → · Palette generator →

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