#C5337E#C5337E

#C5337E is a mid, vivid pink. Relative luminance 0.157; OKLCH L 56.5% C 0.193 H 353.9°. Best body text is #FFFFFF at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#C5337E
RGBrgb(197, 51, 126)
HSLhsl(329, 59%, 49%)
HSVhsv(329, 74%, 77%)
CMYKcmyk(0%, 74.1%, 36%, 22.7%)
CIE-LABlab(46.64, 62.60, -8.10)
CIE-LCHlch(46.64, 63.12, 352.63°)
OKLaboklab(56.55% 0.192 -0.0206)
OKLCHoklch(56.55% 0.193 353.9)
XYZxyz(27.9774, 15.7477, 21.3009)
Luminance0.1574 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5337E #33C57A
analogous
#C333C5 #C5337E #C53335
triadic
#C5337E #7EC533 #337EC5
tetradic
#C5337E #C5C333 #33C57A #3335C5
square
#C5337E #C5C333 #33C57A #3335C5
split-complementary
#C5337E #35C533 #33C5C3
monochromatic
#641A40 #94265F #C5337E #D65F9C #E290BA

Accessibility & contrast

On white

5.06
#C5337E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#C5337E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5337E
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5337E#FFFFFF#000000##FFFFFF
##C5337E1.005.064.155.06
#FFFFFF5.061.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E5D80
Deuteranopia (green-blind)
#77787B
Tritanopia (blue-blind)
#D42454
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #c5337e;
/* rgb */ color: rgb(197, 51, 126);
/* oklch */ color: oklch(56.5% 0.193 353.9);
Tailwind
colors: {
  custom: {
    50: '#db78a3',
    500: '#c5337e',
    950: '#000000',
  },
}
SCSS
$custom: #c5337e;
$custom-light: #db78a3;
$custom-dark: #000000;
JSON
{
  "hex": "#c5337e",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 126
  },
  "hsl": {
    "h": 329.178,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56549,
    "c": 0.19312,
    "h": 353.9
  },
  "luminance": 0.15744
}

Semantic roles & 50–950 ramp

primary
#C5337E
secondary
#87CDA9
accent
#E29246
background
#FEF7FA
surface
#FCEEF3
border
#D5C9CD
text
#160A0F
muted
#847C7F

Preview Lab

Preview with #C5337E

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

Preview Lab → · Contrast checker → · Palette generator →

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