#C5306F#C5306F

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

Color values

HEX#C5306F
RGBrgb(197, 48, 111)
HSLhsl(335, 61%, 48%)
HSVhsv(335, 76%, 77%)
CMYKcmyk(0%, 75.6%, 43.7%, 22.7%)
CIE-LABlab(45.82, 62.04, -0.12)
CIE-LCHlch(45.82, 62.04, 359.88°)
OKLaboklab(55.79% 0.1905 0.0004)
OKLCHoklch(55.79% 0.19 0.1)
XYZxyz(26.9542, 15.1355, 16.5379)
Luminance0.1513 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5306F #30C586
analogous
#C530B9 #C5306F #C53C30
triadic
#C5306F #6FC530 #306FC5
tetradic
#C5306F #B9C530 #30C586 #3C30C5
square
#C5306F #B9C530 #30C586 #3C30C5
split-complementary
#C5306F #30C53C #30B9C5
monochromatic
#631838 #942453 #C5306F #D75B90 #E38CB1

Accessibility & contrast

On white

5.22
#C5306F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.03
#C5306F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5306F
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5306F#FFFFFF#000000##FFFFFF
##C5306F1.005.224.035.22
#FFFFFF5.221.0021.001.00
#0000004.0321.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A71
Deuteranopia (green-blind)
#7A776C
Tritanopia (blue-blind)
#D6144C
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5306f;
/* rgb */ color: rgb(197, 48, 111);
/* oklch */ color: oklch(55.8% 0.190 0.1);
Tailwind
colors: {
  custom: {
    50: '#dc7698',
    500: '#c5306f',
    950: '#000000',
  },
}
SCSS
$custom: #c5306f;
$custom-light: #dc7698;
$custom-dark: #000000;
JSON
{
  "hex": "#c5306f",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 111
  },
  "hsl": {
    "h": 334.631,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55788,
    "c": 0.19048,
    "h": 0.1
  },
  "luminance": 0.15132
}

Semantic roles & 50–950 ramp

primary
#C5306F
secondary
#84CDAE
accent
#E4A044
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5306F

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

Preview Lab → · Contrast checker → · Palette generator →

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