#C5399B#C5399B

#C5399B is a mid, highly saturated pink. Relative luminance 0.172; OKLCH L 58.2% C 0.202 H 342.4°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#C5399B
RGBrgb(197, 57, 155)
HSLhsl(318, 55%, 50%)
HSVhsv(318, 71%, 77%)
CMYKcmyk(0%, 71.1%, 21.3%, 22.7%)
CIE-LABlab(48.47, 64.08, -22.80)
CIE-LCHlch(48.47, 68.02, 340.41°)
OKLaboklab(58.25% 0.1924 -0.0611)
OKLCHoklch(58.25% 0.202 342.4)
XYZxyz(30.4065, 17.1662, 32.7161)
Luminance0.1716 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5399B #39C563
analogous
#A939C5 #C5399B #C53955
triadic
#C5399B #9BC539 #399BC5
tetradic
#C5399B #C5A939 #39C563 #3955C5
square
#C5399B #C5A939 #39C563 #3955C5
split-complementary
#C5399B #55C539 #39C5A9
monochromatic
#661E50 #962B76 #C5399B #D368B3 #E197CB

Accessibility & contrast

On white

4.74
#C5399B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#C5399B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5399B
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5399B#FFFFFF#000000##FFFFFF
##C5399B1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#46649E
Deuteranopia (green-blind)
#717B98
Tritanopia (blue-blind)
#D13A65
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #c5399b;
/* rgb */ color: rgb(197, 57, 155);
/* oklch */ color: oklch(58.2% 0.202 342.4);
Tailwind
colors: {
  custom: {
    50: '#db7bb8',
    500: '#c5399b',
    950: '#000000',
  },
}
SCSS
$custom: #c5399b;
$custom-light: #db7bb8;
$custom-dark: #000000;
JSON
{
  "hex": "#c5399b",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 155
  },
  "hsl": {
    "h": 318,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.58245,
    "c": 0.20185,
    "h": 342.4
  },
  "luminance": 0.17163
}

Semantic roles & 50–950 ramp

primary
#C5399B
secondary
#8DCDA0
accent
#DE7649
background
#FDF8FB
surface
#FBEFF6
border
#D4CAD0
text
#150A11
muted
#837C80

Preview Lab

Preview with #C5399B

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

Preview Lab → · Contrast checker → · Palette generator →

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