#C5337D#C5337D

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

Color values

HEX#C5337D
RGBrgb(197, 51, 125)
HSLhsl(330, 59%, 49%)
HSVhsv(330, 74%, 77%)
CMYKcmyk(0%, 74.1%, 36.5%, 22.7%)
CIE-LABlab(46.61, 62.49, -7.54)
CIE-LCHlch(46.61, 62.94, 353.12°)
OKLaboklab(56.51% 0.1917 -0.0191)
OKLCHoklch(56.51% 0.193 354.3)
XYZxyz(27.9132, 15.7220, 20.9628)
Luminance0.1572 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5337D #33C57B
analogous
#C433C5 #C5337D #C53334
triadic
#C5337D #7DC533 #337DC5
tetradic
#C5337D #C5C433 #33C57B #3334C5
square
#C5337D #C5C433 #33C57B #3334C5
split-complementary
#C5337D #34C533 #33C5C4
monochromatic
#641A3F #94265E #C5337D #D65F9B #E290BA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5337D#FFFFFF#000000##FFFFFF
##C5337D1.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)
#4F5D7F
Deuteranopia (green-blind)
#78787A
Tritanopia (blue-blind)
#D42454
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #c5337d;
/* rgb */ color: rgb(197, 51, 125);
/* oklch */ color: oklch(56.5% 0.193 354.3);
Tailwind
colors: {
  custom: {
    50: '#dc78a2',
    500: '#c5337d',
    950: '#000000',
  },
}
SCSS
$custom: #c5337d;
$custom-light: #dc78a2;
$custom-dark: #000000;
JSON
{
  "hex": "#c5337d",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 125
  },
  "hsl": {
    "h": 329.589,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.56513,
    "c": 0.19268,
    "h": 354.3
  },
  "luminance": 0.15719
}

Semantic roles & 50–950 ramp

primary
#C5337D
secondary
#87CDA9
accent
#E29346
background
#FEF7F9
surface
#FCEEF2
border
#D5C9CC
text
#160A0F
muted
#847C7E

Preview Lab

Preview with #C5337D

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

Preview Lab → · Contrast checker → · Palette generator →

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