#C5336A#C5336A

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

Color values

HEX#C5336A
RGBrgb(197, 51, 106)
HSLhsl(337, 59%, 49%)
HSVhsv(337, 74%, 77%)
CMYKcmyk(0%, 74.1%, 46.2%, 22.7%)
CIE-LABlab(46.02, 60.61, 3.24)
CIE-LCHlch(46.02, 60.69, 3.06°)
OKLaboklab(55.89% 0.1857 0.009)
OKLCHoklch(55.89% 0.186 2.8)
XYZxyz(26.8135, 15.2821, 15.1707)
Luminance0.1528 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5336A #33C58E
analogous
#C533B3 #C5336A #C54533
triadic
#C5336A #6AC533 #336AC5
tetradic
#C5336A #B3C533 #33C58E #4533C5
square
#C5336A #B3C533 #33C58E #4533C5
split-complementary
#C5336A #33C545 #33B3C5
monochromatic
#641A36 #942650 #C5336A #D65F8C #E290AF

Accessibility & contrast

On white

5.18
#C5336A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5336A
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5336A#FFFFFF#000000##FFFFFF
##C5336A1.005.184.065.18
#FFFFFF5.181.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#555B6B
Deuteranopia (green-blind)
#7C7767
Tritanopia (blue-blind)
#D6174A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #c5336a;
/* rgb */ color: rgb(197, 51, 106);
/* oklch */ color: oklch(55.9% 0.186 2.8);
Tailwind
colors: {
  custom: {
    50: '#dc7794',
    500: '#c5336a',
    950: '#000000',
  },
}
SCSS
$custom: #c5336a;
$custom-light: #dc7794;
$custom-dark: #000000;
JSON
{
  "hex": "#c5336a",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 106
  },
  "hsl": {
    "h": 337.397,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.55887,
    "c": 0.1859,
    "h": 2.8
  },
  "luminance": 0.15279
}

Semantic roles & 50–950 ramp

primary
#C5336A
secondary
#87CDB3
accent
#E2A746
background
#FEF7F9
surface
#FCEEF1
border
#D5C9CB
text
#160A0D
muted
#847C7E

Preview Lab

Preview with #C5336A

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

Preview Lab → · Contrast checker → · Palette generator →

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