#C5336D#C5336D

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

Color values

HEX#C5336D
RGBrgb(197, 51, 109)
HSLhsl(336, 59%, 49%)
HSVhsv(336, 74%, 77%)
CMYKcmyk(0%, 74.1%, 44.7%, 22.7%)
CIE-LABlab(46.10, 60.88, 1.52)
CIE-LCHlch(46.10, 60.90, 1.43°)
OKLaboklab(55.98% 0.1867 0.0046)
OKLCHoklch(55.98% 0.187 1.4)
XYZxyz(26.9722, 15.3456, 16.0067)
Luminance0.1534 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5336D #33C58B
analogous
#C533B6 #C5336D #C54233
triadic
#C5336D #6DC533 #336DC5
tetradic
#C5336D #B6C533 #33C58B #4233C5
square
#C5336D #B6C533 #33C58B #4233C5
split-complementary
#C5336D #33C542 #33B6C5
monochromatic
#641A37 #942652 #C5336D #D65F8E #E290B1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5336D#FFFFFF#000000##FFFFFF
##C5336D1.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)
#545B6E
Deuteranopia (green-blind)
#7B776A
Tritanopia (blue-blind)
#D6194C
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5336d;
/* rgb */ color: rgb(197, 51, 109);
/* oklch */ color: oklch(56.0% 0.187 1.4);
Tailwind
colors: {
  custom: {
    50: '#dc7796',
    500: '#c5336d',
    950: '#000000',
  },
}
SCSS
$custom: #c5336d;
$custom-light: #dc7796;
$custom-dark: #000000;
JSON
{
  "hex": "#c5336d",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 109
  },
  "hsl": {
    "h": 336.164,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55978,
    "c": 0.18678,
    "h": 1.4
  },
  "luminance": 0.15342
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5336D

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

Preview Lab → · Contrast checker → · Palette generator →

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