#C5306E#C5306E

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

Color values

HEX#C5306E
RGBrgb(197, 48, 110)
HSLhsl(335, 61%, 48%)
HSVhsv(335, 76%, 77%)
CMYKcmyk(0%, 75.6%, 44.2%, 22.7%)
CIE-LABlab(45.79, 61.94, 0.45)
CIE-LCHlch(45.79, 61.94, 0.41°)
OKLaboklab(55.76% 0.1902 0.0019)
OKLCHoklch(55.76% 0.19 0.6)
XYZxyz(26.8995, 15.1135, 16.2495)
Luminance0.1511 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5306E #30C587
analogous
#C530B8 #C5306E #C53D30
triadic
#C5306E #6EC530 #306EC5
tetradic
#C5306E #B8C530 #30C587 #3D30C5
square
#C5306E #B8C530 #30C587 #3D30C5
split-complementary
#C5306E #30C53D #30B8C5
monochromatic
#631837 #942453 #C5306E #D75B8F #E38CB0

Accessibility & contrast

On white

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

On black

4.02
#C5306E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5306E#FFFFFF#000000##FFFFFF
##C5306E1.005.224.025.22
#FFFFFF5.221.0021.001.00
#0000004.0221.001.0021.00
##FFFFFF5.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#525A6F
Deuteranopia (green-blind)
#7A776B
Tritanopia (blue-blind)
#D6134B
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #c5306e;
/* rgb */ color: rgb(197, 48, 110);
/* oklch */ color: oklch(55.8% 0.190 0.6);
Tailwind
colors: {
  custom: {
    50: '#dc7697',
    500: '#c5306e',
    950: '#000000',
  },
}
SCSS
$custom: #c5306e;
$custom-light: #dc7697;
$custom-dark: #000000;
JSON
{
  "hex": "#c5306e",
  "rgb": {
    "r": 197,
    "g": 48,
    "b": 110
  },
  "hsl": {
    "h": 335.034,
    "s": 60.816,
    "l": 48.039
  },
  "oklch": {
    "l": 0.55757,
    "c": 0.19016,
    "h": 0.6
  },
  "luminance": 0.1511
}

Semantic roles & 50–950 ramp

primary
#C5306E
secondary
#84CDAF
accent
#E4A144
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#16090D
muted
#847B7E

Preview Lab

Preview with #C5306E

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

Preview Lab → · Contrast checker → · Palette generator →

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