#C5307A#C5307A

#C5307A is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.2% C 0.195 H 355.3°. Best body text is #FFFFFF at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#C5307A
RGBrgb(197, 48, 122)
HSLhsl(330, 61%, 48%)
HSVhsv(330, 76%, 77%)
CMYKcmyk(0%, 75.6%, 38.1%, 22.7%)
CIE-LABlab(46.17, 63.13, -6.36)
CIE-LCHlch(46.17, 63.45, 354.24°)
OKLaboklab(56.16% 0.1939 -0.016)
OKLCHoklch(56.16% 0.195 355.3)
XYZxyz(27.5976, 15.3928, 19.9264)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5307A #30C57B
analogous
#C530C4 #C5307A #C53030
triadic
#C5307A #7AC530 #307AC5
tetradic
#C5307A #C4C530 #30C57B #3030C5
square
#C5307A #C4C530 #30C57B #3030C5
split-complementary
#C5307A #30C530 #30C4C5
monochromatic
#63183D #94245C #C5307A #D75B99 #E38CB7

Accessibility & contrast

On white

5.15
#C5307A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C5307A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5307A
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5307A#FFFFFF#000000##FFFFFF
##C5307A1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7C
Deuteranopia (green-blind)
#787777
Tritanopia (blue-blind)
#D51D51
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5307a;
/* rgb */ color: rgb(197, 48, 122);
/* oklch */ color: oklch(56.2% 0.195 355.3);
Tailwind
colors: {
  custom: {
    50: '#dc76a0',
    500: '#c5307a',
    950: '#000000',
  },
}
SCSS
$custom: #c5307a;
$custom-light: #dc76a0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5307a",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 122
  },
  "hsl": {
    "h": 330.201,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56158,
    "c": 0.19456,
    "h": 355.3
  },
  "luminance": 0.15389
}

Semantic roles & 50–950 ramp

primary
#C5307A
secondary
#84CDA9
accent
#E49444
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C5307A

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

Preview Lab → · Contrast checker → · Palette generator →

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