#C5418E#C5418E

#C5418E is a mid, vivid pink. Relative luminance 0.176; OKLCH L 58.5% C 0.184 H 348.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#C5418E
RGBrgb(197, 65, 142)
HSLhsl(325, 53%, 51%)
HSVhsv(325, 67%, 77%)
CMYKcmyk(0%, 67%, 27.9%, 22.7%)
CIE-LABlab(49.02, 59.43, -14.19)
CIE-LCHlch(49.02, 61.11, 346.57°)
OKLaboklab(58.48% 0.1805 -0.0373)
OKLCHoklch(58.48% 0.184 348.3)
XYZxyz(29.8001, 17.6070, 27.4151)
Luminance0.1760 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5418E #41C578
analogous
#BA41C5 #C5418E #C5414C
triadic
#C5418E #8EC541 #418EC5
tetradic
#C5418E #C5BA41 #41C578 #414CC5
square
#C5418E #C5BA41 #41C578 #414CC5
split-complementary
#C5418E #4CC541 #41C5BA
monochromatic
#6B214C #9A2F6D #C5418E #D370AA #E29FC6

Accessibility & contrast

On white

4.65
#C5418E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#C5418E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #C5418E
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5418E#FFFFFF#000000##FFFFFF
##C5418E1.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#526690
Deuteranopia (green-blind)
#787D8B
Tritanopia (blue-blind)
#D33C62
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c5418e;
/* rgb */ color: rgb(197, 65, 142);
/* oklch */ color: oklch(58.5% 0.184 348.3);
Tailwind
colors: {
  custom: {
    50: '#db7faf',
    500: '#c5418e',
    950: '#000000',
  },
}
SCSS
$custom: #c5418e;
$custom-light: #db7faf;
$custom-dark: #000000;
JSON
{
  "hex": "#c5418e",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 142
  },
  "hsl": {
    "h": 325,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.18429,
    "h": 348.3
  },
  "luminance": 0.17604
}

Semantic roles & 50–950 ramp

primary
#C5418E
secondary
#94CEAC
accent
#DD884B
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C5418E

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

Preview Lab → · Contrast checker → · Palette generator →

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