#C5398F#C5398F

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

Color values

HEX#C5398F
RGBrgb(197, 57, 143)
HSLhsl(323, 55%, 50%)
HSVhsv(323, 71%, 77%)
CMYKcmyk(0%, 71.1%, 27.4%, 22.7%)
CIE-LABlab(47.99, 62.53, -16.36)
CIE-LCHlch(47.99, 64.64, 345.34°)
OKLaboklab(57.74% 0.19 -0.0432)
OKLCHoklch(57.74% 0.195 347.2)
XYZxyz(29.4483, 16.7829, 27.6699)
Luminance0.1678 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5398F #39C56F
analogous
#B539C5 #C5398F #C53949
triadic
#C5398F #8FC539 #398FC5
tetradic
#C5398F #C5B539 #39C56F #3949C5
square
#C5398F #C5B539 #39C56F #3949C5
split-complementary
#C5398F #49C539 #39C5B5
monochromatic
#661E4A #962B6D #C5398F #D368AA #E197C5

Accessibility & contrast

On white

4.82
#C5398F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#C5398F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #C5398F
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5398F#FFFFFF#000000##FFFFFF
##C5398F1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4C6291
Deuteranopia (green-blind)
#757B8C
Tritanopia (blue-blind)
#D3345F
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c5398f;
/* rgb */ color: rgb(197, 57, 143);
/* oklch */ color: oklch(57.7% 0.195 347.2);
Tailwind
colors: {
  custom: {
    50: '#db7bb0',
    500: '#c5398f',
    950: '#000000',
  },
}
SCSS
$custom: #c5398f;
$custom-light: #db7bb0;
$custom-dark: #000000;
JSON
{
  "hex": "#c5398f",
  "rgb": {
    "r": 197,
    "g": 57,
    "b": 143
  },
  "hsl": {
    "h": 323.143,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.57735,
    "c": 0.1948,
    "h": 347.2
  },
  "luminance": 0.1678
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C5398F

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

Preview Lab → · Contrast checker → · Palette generator →

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