#C5306B#C5306B

#C5306B is a mid, vivid pink. Relative luminance 0.150; OKLCH L 55.7% C 0.189 H 1.9°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#C5306B
RGBrgb(197, 48, 107)
HSLhsl(336, 61%, 48%)
HSVhsv(336, 76%, 77%)
CMYKcmyk(0%, 75.6%, 45.7%, 22.7%)
CIE-LABlab(45.70, 61.67, 2.17)
CIE-LCHlch(45.70, 61.70, 2.02°)
OKLaboklab(55.66% 0.1891 0.0063)
OKLCHoklch(55.66% 0.189 1.9)
XYZxyz(26.7389, 15.0493, 15.4038)
Luminance0.1505 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5306B #30C58A
analogous
#C530B5 #C5306B #C54030
triadic
#C5306B #6BC530 #306BC5
tetradic
#C5306B #B5C530 #30C58A #4030C5
square
#C5306B #B5C530 #30C58A #4030C5
split-complementary
#C5306B #30C540 #30B5C5
monochromatic
#631836 #942450 #C5306B #D75B8C #E38CAF

Accessibility & contrast

On white

5.24
#C5306B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5306B
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5306B#FFFFFF#000000##FFFFFF
##C5306B1.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535A6C
Deuteranopia (green-blind)
#7B7768
Tritanopia (blue-blind)
#D6114A
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5306b;
/* rgb */ color: rgb(197, 48, 107);
/* oklch */ color: oklch(55.7% 0.189 1.9);
Tailwind
colors: {
  custom: {
    50: '#dc7695',
    500: '#c5306b',
    950: '#000000',
  },
}
SCSS
$custom: #c5306b;
$custom-light: #dc7695;
$custom-dark: #000000;
JSON
{
  "hex": "#c5306b",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 107
  },
  "hsl": {
    "h": 336.242,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55664,
    "c": 0.18924,
    "h": 1.9
  },
  "luminance": 0.15046
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5306B

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

Preview Lab → · Contrast checker → · Palette generator →

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