#C5307E#C5307E

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

Color values

HEX#C5307E
RGBrgb(197, 48, 126)
HSLhsl(329, 61%, 48%)
HSVhsv(329, 76%, 77%)
CMYKcmyk(0%, 75.6%, 36%, 22.7%)
CIE-LABlab(46.30, 63.55, -8.61)
CIE-LCHlch(46.30, 64.13, 352.29°)
OKLaboklab(56.3% 0.195 -0.022)
OKLCHoklch(56.3% 0.196 353.6)
XYZxyz(27.8506, 15.4940, 21.2586)
Luminance0.1549 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5307E #30C577
analogous
#C130C5 #C5307E #C53033
triadic
#C5307E #7EC530 #307EC5
tetradic
#C5307E #C5C130 #30C577 #3033C5
square
#C5307E #C5C130 #30C577 #3033C5
split-complementary
#C5307E #33C530 #30C5C1
monochromatic
#63183F #94245F #C5307E #D75B9C #E38CBA

Accessibility & contrast

On white

5.12
#C5307E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.10
#C5307E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5307E
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5307E#FFFFFF#000000##FFFFFF
##C5307E1.005.124.105.12
#FFFFFF5.121.0021.001.00
#0000004.1021.001.0021.00
##FFFFFF5.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D5C80
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#D42053
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5307e;
/* rgb */ color: rgb(197, 48, 126);
/* oklch */ color: oklch(56.3% 0.196 353.6);
Tailwind
colors: {
  custom: {
    50: '#dc77a3',
    500: '#c5307e',
    950: '#000000',
  },
}
SCSS
$custom: #c5307e;
$custom-light: #dc77a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c5307e",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 126
  },
  "hsl": {
    "h": 328.591,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56302,
    "c": 0.19627,
    "h": 353.6
  },
  "luminance": 0.15491
}

Semantic roles & 50–950 ramp

primary
#C5307E
secondary
#84CDA7
accent
#E49044
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5307E

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

Preview Lab → · Contrast checker → · Palette generator →

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