#C5418B#C5418B

#C5418B is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.4% C 0.183 H 349.7°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#C5418B
RGBrgb(197, 65, 139)
HSLhsl(326, 53%, 51%)
HSVhsv(326, 67%, 77%)
CMYKcmyk(0%, 67%, 29.4%, 22.7%)
CIE-LABlab(48.91, 59.06, -12.56)
CIE-LCHlch(48.91, 60.38, 347.99°)
OKLaboklab(58.36% 0.1797 -0.0328)
OKLCHoklch(58.36% 0.183 349.7)
XYZxyz(29.5779, 17.5182, 26.2448)
Luminance0.1752 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5418B #41C57B
analogous
#BD41C5 #C5418B #C54149
triadic
#C5418B #8BC541 #418BC5
tetradic
#C5418B #C5BD41 #41C57B #4149C5
square
#C5418B #C5BD41 #41C57B #4149C5
split-complementary
#C5418B #49C541 #41C5BD
monochromatic
#6B214A #9A2F6B #C5418B #D370A8 #E29FC4

Accessibility & contrast

On white

4.66
#C5418B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#C5418B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C5418B
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5418B#FFFFFF#000000##FFFFFF
##C5418B1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54658D
Deuteranopia (green-blind)
#797D88
Tritanopia (blue-blind)
#D33B60
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c5418b;
/* rgb */ color: rgb(197, 65, 139);
/* oklch */ color: oklch(58.4% 0.183 349.7);
Tailwind
colors: {
  custom: {
    50: '#db7fad',
    500: '#c5418b',
    950: '#000000',
  },
}
SCSS
$custom: #c5418b;
$custom-light: #db7fad;
$custom-dark: #000000;
JSON
{
  "hex": "#c5418b",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 139
  },
  "hsl": {
    "h": 326.364,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58361,
    "c": 0.18268,
    "h": 349.7
  },
  "luminance": 0.17515
}

Semantic roles & 50–950 ramp

primary
#C5418B
secondary
#94CEAD
accent
#DD8B4B
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C5418B

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

Preview Lab → · Contrast checker → · Palette generator →

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