#C5307D#C5307D

#C5307D is a mid, vivid pink. Relative luminance 0.155; OKLCH L 56.3% C 0.196 H 354.0°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#C5307D
RGBrgb(197, 48, 125)
HSLhsl(329, 61%, 48%)
HSVhsv(329, 76%, 77%)
CMYKcmyk(0%, 75.6%, 36.5%, 22.7%)
CIE-LABlab(46.27, 63.44, -8.05)
CIE-LCHlch(46.27, 63.95, 352.77°)
OKLaboklab(56.27% 0.1948 -0.0205)
OKLCHoklch(56.27% 0.196 354)
XYZxyz(27.7864, 15.4683, 20.9205)
Luminance0.1547 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5307D #30C578
analogous
#C230C5 #C5307D #C53033
triadic
#C5307D #7DC530 #307DC5
tetradic
#C5307D #C5C230 #30C578 #3033C5
square
#C5307D #C5C230 #30C578 #3033C5
split-complementary
#C5307D #33C530 #30C5C2
monochromatic
#63183F #94245E #C5307D #D75B9B #E38CB9

Accessibility & contrast

On white

5.13
#C5307D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#C5307D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5307D
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5307D#FFFFFF#000000##FFFFFF
##C5307D1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C7F
Deuteranopia (green-blind)
#77777A
Tritanopia (blue-blind)
#D51F52
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5307d;
/* rgb */ color: rgb(197, 48, 125);
/* oklch */ color: oklch(56.3% 0.196 354.0);
Tailwind
colors: {
  custom: {
    50: '#dc77a2',
    500: '#c5307d',
    950: '#000000',
  },
}
SCSS
$custom: #c5307d;
$custom-light: #dc77a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5307d",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 125
  },
  "hsl": {
    "h": 328.993,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56265,
    "c": 0.19583,
    "h": 354
  },
  "luminance": 0.15465
}

Semantic roles & 50–950 ramp

primary
#C5307D
secondary
#84CDA7
accent
#E49144
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5307D

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

Preview Lab → · Contrast checker → · Palette generator →

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