#C5337C#C5337C

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

Color values

HEX#C5337C
RGBrgb(197, 51, 124)
HSLhsl(330, 59%, 49%)
HSVhsv(330, 74%, 77%)
CMYKcmyk(0%, 74.1%, 37.1%, 22.7%)
CIE-LABlab(46.57, 62.38, -6.98)
CIE-LCHlch(46.57, 62.77, 353.61°)
OKLaboklab(56.48% 0.1914 -0.0176)
OKLCHoklch(56.48% 0.192 354.7)
XYZxyz(27.8497, 15.6966, 20.6280)
Luminance0.1569 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5337C #33C57C
analogous
#C533C5 #C5337C #C53333
triadic
#C5337C #7CC533 #337CC5
tetradic
#C5337C #C5C533 #33C57C #3333C5
square
#C5337C #C5C533 #33C57C #3333C5
split-complementary
#C5337C #33C533 #33C5C5
monochromatic
#641A3F #94265D #C5337C #D65F9B #E290B9

Accessibility & contrast

On white

5.07
#C5337C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#C5337C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5337C
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5337C#FFFFFF#000000##FFFFFF
##C5337C1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F5D7E
Deuteranopia (green-blind)
#787879
Tritanopia (blue-blind)
#D52353
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5337c;
/* rgb */ color: rgb(197, 51, 124);
/* oklch */ color: oklch(56.5% 0.192 354.7);
Tailwind
colors: {
  custom: {
    50: '#dc78a1',
    500: '#c5337c',
    950: '#000000',
  },
}
SCSS
$custom: #c5337c;
$custom-light: #dc78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5337c",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 124
  },
  "hsl": {
    "h": 330,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56477,
    "c": 0.19225,
    "h": 354.7
  },
  "luminance": 0.15693
}

Semantic roles & 50–950 ramp

primary
#C5337C
secondary
#87CDAA
accent
#E29446
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5337C

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

Preview Lab → · Contrast checker → · Palette generator →

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