#C5336C#C5336C

#C5336C is a mid, vivid pink. Relative luminance 0.153; OKLCH L 55.9% C 0.186 H 1.9°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#C5336C
RGBrgb(197, 51, 108)
HSLhsl(337, 59%, 49%)
HSVhsv(337, 74%, 77%)
CMYKcmyk(0%, 74.1%, 45.2%, 22.7%)
CIE-LABlab(46.08, 60.79, 2.09)
CIE-LCHlch(46.08, 60.82, 1.97°)
OKLaboklab(55.95% 0.1864 0.0061)
OKLCHoklch(55.95% 0.186 1.9)
XYZxyz(26.9187, 15.3242, 15.7248)
Luminance0.1532 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5336C #33C58C
analogous
#C533B5 #C5336C #C54333
triadic
#C5336C #6CC533 #336CC5
tetradic
#C5336C #B5C533 #33C58C #4333C5
square
#C5336C #B5C533 #33C58C #4333C5
split-complementary
#C5336C #33C543 #33B5C5
monochromatic
#641A37 #942651 #C5336C #D65F8E #E290B0

Accessibility & contrast

On white

5.17
#C5336C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#C5336C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5336C
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5336C#FFFFFF#000000##FFFFFF
##C5336C1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6D
Deuteranopia (green-blind)
#7B7769
Tritanopia (blue-blind)
#D6184B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5336c;
/* rgb */ color: rgb(197, 51, 108);
/* oklch */ color: oklch(55.9% 0.186 1.9);
Tailwind
colors: {
  custom: {
    50: '#dc7795',
    500: '#c5336c',
    950: '#000000',
  },
}
SCSS
$custom: #c5336c;
$custom-light: #dc7795;
$custom-dark: #000000;
JSON
{
  "hex": "#c5336c",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 108
  },
  "hsl": {
    "h": 336.575,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55948,
    "c": 0.18648,
    "h": 1.9
  },
  "luminance": 0.15321
}

Semantic roles & 50–950 ramp

primary
#C5336C
secondary
#87CDB2
accent
#E2A546
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5336C

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

Preview Lab → · Contrast checker → · Palette generator →

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