#C5306C#C5306C

#C5306C is a mid, vivid pink. Relative luminance 0.151; OKLCH L 55.7% C 0.190 H 1.4°. Best body text is #FFFFFF at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#C5306C
RGBrgb(197, 48, 108)
HSLhsl(336, 61%, 48%)
HSVhsv(336, 76%, 77%)
CMYKcmyk(0%, 75.6%, 45.2%, 22.7%)
CIE-LABlab(45.73, 61.76, 1.59)
CIE-LCHlch(45.73, 61.78, 1.48°)
OKLaboklab(55.69% 0.1895 0.0048)
OKLCHoklch(55.69% 0.19 1.4)
XYZxyz(26.7918, 15.0705, 15.6825)
Luminance0.1507 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5306C #30C589
analogous
#C530B6 #C5306C #C53F30
triadic
#C5306C #6CC530 #306CC5
tetradic
#C5306C #B6C530 #30C589 #3F30C5
square
#C5306C #B6C530 #30C589 #3F30C5
split-complementary
#C5306C #30C53F #30B6C5
monochromatic
#631836 #942451 #C5306C #D75B8D #E38CAF

Accessibility & contrast

On white

5.23
#C5306C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#C5306C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5306C
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5306C#FFFFFF#000000##FFFFFF
##C5306C1.005.234.015.23
#FFFFFF5.231.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.231.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6D
Deuteranopia (green-blind)
#7B7769
Tritanopia (blue-blind)
#D6124A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5306c;
/* rgb */ color: rgb(197, 48, 108);
/* oklch */ color: oklch(55.7% 0.190 1.4);
Tailwind
colors: {
  custom: {
    50: '#dc7695',
    500: '#c5306c',
    950: '#000000',
  },
}
SCSS
$custom: #c5306c;
$custom-light: #dc7695;
$custom-dark: #000000;
JSON
{
  "hex": "#c5306c",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 108
  },
  "hsl": {
    "h": 335.839,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55694,
    "c": 0.18954,
    "h": 1.4
  },
  "luminance": 0.15067
}

Semantic roles & 50–950 ramp

primary
#C5306C
secondary
#84CDB0
accent
#E4A344
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5306C

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

Preview Lab → · Contrast checker → · Palette generator →

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