#C5336E#C5336E

#C5336E is a mid, vivid pink. Relative luminance 0.154; OKLCH L 56.0% C 0.187 H 1.0°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#C5336E
RGBrgb(197, 51, 110)
HSLhsl(336, 59%, 49%)
HSVhsv(336, 74%, 77%)
CMYKcmyk(0%, 74.1%, 44.2%, 22.7%)
CIE-LABlab(46.13, 60.98, 0.95)
CIE-LCHlch(46.13, 60.98, 0.89°)
OKLaboklab(56.01% 0.1871 0.0031)
OKLCHoklch(56.01% 0.187 1)
XYZxyz(27.0264, 15.3673, 16.2918)
Luminance0.1536 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5336E #33C58A
analogous
#C533B7 #C5336E #C54133
triadic
#C5336E #6EC533 #336EC5
tetradic
#C5336E #B7C533 #33C58A #4133C5
square
#C5336E #B7C533 #33C58A #4133C5
split-complementary
#C5336E #33C541 #33B7C5
monochromatic
#641A38 #942653 #C5336E #D65F8F #E290B1

Accessibility & contrast

On white

5.16
#C5336E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#C5336E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5336E
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5336E#FFFFFF#000000##FFFFFF
##C5336E1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#545B6F
Deuteranopia (green-blind)
#7B776B
Tritanopia (blue-blind)
#D61A4C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5336e;
/* rgb */ color: rgb(197, 51, 110);
/* oklch */ color: oklch(56.0% 0.187 1.0);
Tailwind
colors: {
  custom: {
    50: '#dc7797',
    500: '#c5336e',
    950: '#000000',
  },
}
SCSS
$custom: #c5336e;
$custom-light: #dc7797;
$custom-dark: #000000;
JSON
{
  "hex": "#c5336e",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 110
  },
  "hsl": {
    "h": 335.753,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5601,
    "c": 0.18708,
    "h": 1
  },
  "luminance": 0.15364
}

Semantic roles & 50–950 ramp

primary
#C5336E
secondary
#87CDB1
accent
#E2A346
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5336E

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

Preview Lab → · Contrast checker → · Palette generator →

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