#C5307B#C5307B

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

Color values

HEX#C5307B
RGBrgb(197, 48, 123)
HSLhsl(330, 61%, 48%)
HSVhsv(330, 76%, 77%)
CMYKcmyk(0%, 75.6%, 37.6%, 22.7%)
CIE-LABlab(46.20, 63.23, -6.93)
CIE-LCHlch(46.20, 63.61, 353.75°)
OKLaboklab(56.19% 0.1942 -0.0175)
OKLCHoklch(56.19% 0.195 354.9)
XYZxyz(27.6599, 15.4177, 20.2544)
Luminance0.1541 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5307B #30C57A
analogous
#C430C5 #C5307B #C53030
triadic
#C5307B #7BC530 #307BC5
tetradic
#C5307B #C5C430 #30C57A #3030C5
square
#C5307B #C5C430 #30C57A #3030C5
split-complementary
#C5307B #30C530 #30C5C4
monochromatic
#63183E #94245C #C5307B #D75B9A #E38CB8

Accessibility & contrast

On white

5.14
#C5307B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5307B
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5307B#FFFFFF#000000##FFFFFF
##C5307B1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5C7D
Deuteranopia (green-blind)
#777778
Tritanopia (blue-blind)
#D51E51
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5307b;
/* rgb */ color: rgb(197, 48, 123);
/* oklch */ color: oklch(56.2% 0.195 354.9);
Tailwind
colors: {
  custom: {
    50: '#dc76a1',
    500: '#c5307b',
    950: '#000000',
  },
}
SCSS
$custom: #c5307b;
$custom-light: #dc76a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5307b",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 123
  },
  "hsl": {
    "h": 329.799,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.56193,
    "c": 0.19498,
    "h": 354.9
  },
  "luminance": 0.15414
}

Semantic roles & 50–950 ramp

primary
#C5307B
secondary
#84CDA8
accent
#E49344
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C5307B

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

Preview Lab → · Contrast checker → · Palette generator →

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