#C5336F#C5336F

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

Color values

HEX#C5336F
RGBrgb(197, 51, 111)
HSLhsl(335, 59%, 49%)
HSVhsv(335, 74%, 77%)
CMYKcmyk(0%, 74.1%, 43.7%, 22.7%)
CIE-LABlab(46.16, 61.07, 0.38)
CIE-LCHlch(46.16, 61.07, 0.35°)
OKLaboklab(56.04% 0.1874 0.0017)
OKLCHoklch(56.04% 0.187 0.5)
XYZxyz(27.0811, 15.3892, 16.5802)
Luminance0.1539 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5336F #33C589
analogous
#C533B8 #C5336F #C54033
triadic
#C5336F #6FC533 #336FC5
tetradic
#C5336F #B8C533 #33C589 #4033C5
square
#C5336F #B8C533 #33C589 #4033C5
split-complementary
#C5336F #33C540 #33B8C5
monochromatic
#641A38 #942654 #C5336F #D65F90 #E290B2

Accessibility & contrast

On white

5.15
#C5336F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#C5336F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5336F
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5336F#FFFFFF#000000##FFFFFF
##C5336F1.005.154.085.15
#FFFFFF5.151.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.151.0021.001.00

Color blindness preview

Protanopia (red-blind)
#535B70
Deuteranopia (green-blind)
#7B786C
Tritanopia (blue-blind)
#D61A4D
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5336f;
/* rgb */ color: rgb(197, 51, 111);
/* oklch */ color: oklch(56.0% 0.187 0.5);
Tailwind
colors: {
  custom: {
    50: '#dc7798',
    500: '#c5336f',
    950: '#000000',
  },
}
SCSS
$custom: #c5336f;
$custom-light: #dc7798;
$custom-dark: #000000;
JSON
{
  "hex": "#c5336f",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 111
  },
  "hsl": {
    "h": 335.342,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56041,
    "c": 0.1874,
    "h": 0.5
  },
  "luminance": 0.15386
}

Semantic roles & 50–950 ramp

primary
#C5336F
secondary
#87CDB0
accent
#E2A246
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5336F

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

Preview Lab → · Contrast checker → · Palette generator →

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