#C4309E#C4309E

#C4309E is a mid, highly saturated pink. Relative luminance 0.163; OKLCH L 57.5% C 0.213 H 340.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#C4309E
RGBrgb(196, 48, 158)
HSLhsl(315, 61%, 48%)
HSVhsv(315, 76%, 77%)
CMYKcmyk(0%, 75.5%, 19.4%, 23.1%)
CIE-LABlab(47.39, 67.16, -26.27)
CIE-LCHlch(47.39, 72.12, 338.64°)
OKLaboklab(57.48% 0.2008 -0.0709)
OKLCHoklch(57.48% 0.213 340.6)
XYZxyz(29.9944, 16.3213, 33.9118)
Luminance0.1632 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4309E #30C456
analogous
#A030C4 #C4309E #C43054
triadic
#C4309E #9EC430 #309EC4
tetradic
#C4309E #C4A030 #30C456 #3054C4
square
#C4309E #C4A030 #30C456 #3054C4
split-complementary
#C4309E #54C430 #30C4A0
monochromatic
#62184F #932476 #C4309E #D75AB7 #E38CCC

Accessibility & contrast

On white

4.93
#C4309E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#C4309E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C4309E
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4309E#FFFFFF#000000##FFFFFF
##C4309E1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C61A1
Deuteranopia (green-blind)
#6C799B
Tritanopia (blue-blind)
#D03464
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c4309e;
/* rgb */ color: rgb(196, 48, 158);
/* oklch */ color: oklch(57.5% 0.213 340.6);
Tailwind
colors: {
  custom: {
    50: '#da77bb',
    500: '#c4309e',
    950: '#000000',
  },
}
SCSS
$custom: #c4309e;
$custom-light: #da77bb;
$custom-dark: #000000;
JSON
{
  "hex": "#c4309e",
  "rgb": {
    "r": 196,
    "g": 48,
    "b": 158
  },
  "hsl": {
    "h": 315.405,
    "s": 60.656,
    "l": 47.843
  },
  "oklch": {
    "l": 0.57475,
    "c": 0.21297,
    "h": 340.6
  },
  "luminance": 0.16318
}

Semantic roles & 50–950 ramp

primary
#C4309E
secondary
#83CD96
accent
#E46D44
background
#FDF7FB
surface
#FBEEF6
border
#D4C9D0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C4309E

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

Preview Lab → · Contrast checker → · Palette generator →

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