#C5338A#C5338A

#C5338A is a mid, vivid pink. Relative luminance 0.161; OKLCH L 57.0% C 0.199 H 348.8°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#C5338A
RGBrgb(197, 51, 138)
HSLhsl(324, 59%, 49%)
HSVhsv(324, 74%, 77%)
CMYKcmyk(0%, 74.1%, 29.9%, 22.7%)
CIE-LABlab(47.07, 63.95, -14.73)
CIE-LCHlch(47.07, 65.63, 347.03°)
OKLaboklab(57.01% 0.1951 -0.0386)
OKLCHoklch(57.01% 0.199 348.8)
XYZxyz(28.7987, 16.0762, 25.6262)
Luminance0.1607 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5338A #33C56E
analogous
#B733C5 #C5338A #C53341
triadic
#C5338A #8AC533 #338AC5
tetradic
#C5338A #C5B733 #33C56E #3341C5
square
#C5338A #C5B733 #33C56E #3341C5
split-complementary
#C5338A #41C533 #33C5B7
monochromatic
#641A46 #942668 #C5338A #D65FA6 #E290C1

Accessibility & contrast

On white

4.98
#C5338A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#C5338A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5338A
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5338A#FFFFFF#000000##FFFFFF
##C5338A1.004.984.214.98
#FFFFFF4.981.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A5F8C
Deuteranopia (green-blind)
#747987
Tritanopia (blue-blind)
#D32B5A
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5338a;
/* rgb */ color: rgb(197, 51, 138);
/* oklch */ color: oklch(57.0% 0.199 348.8);
Tailwind
colors: {
  custom: {
    50: '#db78ac',
    500: '#c5338a',
    950: '#000000',
  },
}
SCSS
$custom: #c5338a;
$custom-light: #db78ac;
$custom-dark: #000000;
JSON
{
  "hex": "#c5338a",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 138
  },
  "hsl": {
    "h": 324.247,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57007,
    "c": 0.1989,
    "h": 348.8
  },
  "luminance": 0.16073
}

Semantic roles & 50–950 ramp

primary
#C5338A
secondary
#87CDA3
accent
#E28546
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#160A10
muted
#847C7F

Preview Lab

Preview with #C5338A

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

Preview Lab → · Contrast checker → · Palette generator →

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