#C5418A#C5418A

#C5418A is a mid, vivid pink. Relative luminance 0.175; OKLCH L 58.3% C 0.182 H 350.1°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#C5418A
RGBrgb(197, 65, 138)
HSLhsl(327, 53%, 51%)
HSVhsv(327, 67%, 77%)
CMYKcmyk(0%, 67%, 29.9%, 22.7%)
CIE-LABlab(48.87, 58.94, -12.01)
CIE-LCHlch(48.87, 60.15, 348.48°)
OKLaboklab(58.32% 0.1795 -0.0313)
OKLCHoklch(58.32% 0.182 350.1)
XYZxyz(29.5051, 17.4891, 25.8617)
Luminance0.1749 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5418A #41C57C
analogous
#BE41C5 #C5418A #C54148
triadic
#C5418A #8AC541 #418AC5
tetradic
#C5418A #C5BE41 #41C57C #4148C5
square
#C5418A #C5BE41 #41C57C #4148C5
split-complementary
#C5418A #48C541 #41C5BE
monochromatic
#6B214A #9A2F6A #C5418A #D370A7 #E29FC4

Accessibility & contrast

On white

4.67
#C5418A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C5418A
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5418A#FFFFFF#000000##FFFFFF
##C5418A1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#54658C
Deuteranopia (green-blind)
#797D87
Tritanopia (blue-blind)
#D33A60
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #c5418a;
/* rgb */ color: rgb(197, 65, 138);
/* oklch */ color: oklch(58.3% 0.182 350.1);
Tailwind
colors: {
  custom: {
    50: '#db7fac',
    500: '#c5418a',
    950: '#000000',
  },
}
SCSS
$custom: #c5418a;
$custom-light: #db7fac;
$custom-dark: #000000;
JSON
{
  "hex": "#c5418a",
  "rgb": {
    "r": 197,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 326.818,
    "s": 53.226,
    "l": 51.373
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.18216,
    "h": 350.1
  },
  "luminance": 0.17486
}

Semantic roles & 50–950 ramp

primary
#C5418A
secondary
#94CEAE
accent
#DD8C4B
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C5418A

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

Preview Lab → · Contrast checker → · Palette generator →

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