#C5336B#C5336B

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

Color values

HEX#C5336B
RGBrgb(197, 51, 107)
HSLhsl(337, 59%, 49%)
HSVhsv(337, 74%, 77%)
CMYKcmyk(0%, 74.1%, 45.7%, 22.7%)
CIE-LABlab(46.05, 60.70, 2.67)
CIE-LCHlch(46.05, 60.76, 2.52°)
OKLaboklab(55.92% 0.186 0.0075)
OKLCHoklch(55.92% 0.186 2.3)
XYZxyz(26.8658, 15.3031, 15.4461)
Luminance0.1530 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5336B #33C58D
analogous
#C533B4 #C5336B #C54433
triadic
#C5336B #6BC533 #336BC5
tetradic
#C5336B #B4C533 #33C58D #4433C5
square
#C5336B #B4C533 #33C58D #4433C5
split-complementary
#C5336B #33C544 #33B4C5
monochromatic
#641A36 #942651 #C5336B #D65F8D #E290B0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5336B#FFFFFF#000000##FFFFFF
##C5336B1.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)
#555B6C
Deuteranopia (green-blind)
#7C7768
Tritanopia (blue-blind)
#D6174B
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5336b;
/* rgb */ color: rgb(197, 51, 107);
/* oklch */ color: oklch(55.9% 0.186 2.3);
Tailwind
colors: {
  custom: {
    50: '#dc7795',
    500: '#c5336b',
    950: '#000000',
  },
}
SCSS
$custom: #c5336b;
$custom-light: #dc7795;
$custom-dark: #000000;
JSON
{
  "hex": "#c5336b",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 107
  },
  "hsl": {
    "h": 336.986,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55917,
    "c": 0.18618,
    "h": 2.3
  },
  "luminance": 0.153
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5336B

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

Preview Lab → · Contrast checker → · Palette generator →

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