#C5338B#C5338B

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

Color values

HEX#C5338B
RGBrgb(197, 51, 139)
HSLhsl(324, 59%, 49%)
HSVhsv(324, 74%, 77%)
CMYKcmyk(0%, 74.1%, 29.4%, 22.7%)
CIE-LABlab(47.11, 64.07, -15.28)
CIE-LCHlch(47.11, 65.87, 346.59°)
OKLaboklab(57.05% 0.1953 -0.0401)
OKLCHoklch(57.05% 0.199 348.4)
XYZxyz(28.8714, 16.1053, 26.0093)
Luminance0.1610 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5338B #33C56D
analogous
#B633C5 #C5338B #C53342
triadic
#C5338B #8BC533 #338BC5
tetradic
#C5338B #C5B633 #33C56D #3342C5
square
#C5338B #C5B633 #33C56D #3342C5
split-complementary
#C5338B #42C533 #33C5B6
monochromatic
#641A46 #942669 #C5338B #D65FA7 #E290C2

Accessibility & contrast

On white

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

On black

4.22
#C5338B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##C5338B#FFFFFF#000000##FFFFFF
##C5338B1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#495F8D
Deuteranopia (green-blind)
#747988
Tritanopia (blue-blind)
#D32C5B
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #c5338b;
/* rgb */ color: rgb(197, 51, 139);
/* oklch */ color: oklch(57.0% 0.199 348.4);
Tailwind
colors: {
  custom: {
    50: '#db78ad',
    500: '#c5338b',
    950: '#000000',
  },
}
SCSS
$custom: #c5338b;
$custom-light: #db78ad;
$custom-dark: #000000;
JSON
{
  "hex": "#c5338b",
  "rgb": {
    "r": 197,
    "g": 51,
    "b": 139
  },
  "hsl": {
    "h": 323.836,
    "s": 58.871,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57047,
    "c": 0.19942,
    "h": 348.4
  },
  "luminance": 0.16102
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5338B

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

Preview Lab → · Contrast checker → · Palette generator →

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