#C5337B#C5337B

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

Color values

HEX#C5337B
RGBrgb(197, 51, 123)
HSLhsl(330, 59%, 49%)
HSVhsv(330, 74%, 77%)
CMYKcmyk(0%, 74.1%, 37.6%, 22.7%)
CIE-LABlab(46.54, 62.28, -6.42)
CIE-LCHlch(46.54, 62.61, 354.11°)
OKLaboklab(56.44% 0.1911 -0.0161)
OKLCHoklch(56.44% 0.192 355.2)
XYZxyz(27.7868, 15.6714, 20.2967)
Luminance0.1567 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5337B #33C57D
analogous
#C533C4 #C5337B #C53433
triadic
#C5337B #7BC533 #337BC5
tetradic
#C5337B #C4C533 #33C57D #3433C5
square
#C5337B #C4C533 #33C57D #3433C5
split-complementary
#C5337B #33C534 #33C4C5
monochromatic
#641A3E #94265D #C5337B #D65F9A #E290B9

Accessibility & contrast

On white

5.08
#C5337B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#C5337B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5337B
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5337B#FFFFFF#000000##FFFFFF
##C5337B1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#505D7D
Deuteranopia (green-blind)
#787878
Tritanopia (blue-blind)
#D52253
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5337b;
/* rgb */ color: rgb(197, 51, 123);
/* oklch */ color: oklch(56.4% 0.192 355.2);
Tailwind
colors: {
  custom: {
    50: '#dc78a1',
    500: '#c5337b',
    950: '#000000',
  },
}
SCSS
$custom: #c5337b;
$custom-light: #dc78a1;
$custom-dark: #000000;
JSON
{
  "hex": "#c5337b",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 123
  },
  "hsl": {
    "h": 330.411,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56442,
    "c": 0.19183,
    "h": 355.2
  },
  "luminance": 0.15668
}

Semantic roles & 50–950 ramp

primary
#C5337B
secondary
#87CDAA
accent
#E29546
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0E
muted
#847C7E

Preview Lab

Preview with #C5337B

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

Preview Lab → · Contrast checker → · Palette generator →

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