#C5398E#C5398E

#C5398E is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.7% C 0.194 H 347.6°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#C5398E
RGBrgb(197, 57, 142)
HSLhsl(324, 55%, 50%)
HSVhsv(324, 71%, 77%)
CMYKcmyk(0%, 71.1%, 27.9%, 22.7%)
CIE-LABlab(47.95, 62.41, -15.82)
CIE-LCHlch(47.95, 64.38, 345.78°)
OKLaboklab(57.69% 0.1897 -0.0417)
OKLCHoklch(57.69% 0.194 347.6)
XYZxyz(29.3729, 16.7528, 27.2727)
Luminance0.1675 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5398E #39C570
analogous
#B639C5 #C5398E #C53948
triadic
#C5398E #8EC539 #398EC5
tetradic
#C5398E #C5B639 #39C570 #3948C5
square
#C5398E #C5B639 #39C570 #3948C5
split-complementary
#C5398E #48C539 #39C5B6
monochromatic
#661E4A #962B6C #C5398E #D368A9 #E197C4

Accessibility & contrast

On white

4.83
#C5398E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#C5398E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5398E
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5398E#FFFFFF#000000##FFFFFF
##C5398E1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6290
Deuteranopia (green-blind)
#757B8B
Tritanopia (blue-blind)
#D3345E
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c5398e;
/* rgb */ color: rgb(197, 57, 142);
/* oklch */ color: oklch(57.7% 0.194 347.6);
Tailwind
colors: {
  custom: {
    50: '#db7baf',
    500: '#c5398e',
    950: '#000000',
  },
}
SCSS
$custom: #c5398e;
$custom-light: #db7baf;
$custom-dark: #000000;
JSON
{
  "hex": "#c5398e",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 142
  },
  "hsl": {
    "h": 323.571,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57694,
    "c": 0.19424,
    "h": 347.6
  },
  "luminance": 0.1675
}

Semantic roles & 50–950 ramp

primary
#C5398E
secondary
#8DCDA6
accent
#DE8449
background
#FEF7FA
surface
#FCEEF4
border
#D5C9CE
text
#150A10
muted
#847C7F

Preview Lab

Preview with #C5398E

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

Preview Lab → · Contrast checker → · Palette generator →

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