#C0418A#C0418A

#C0418A is a mid, vivid pink. Relative luminance 0.168; OKLCH L 57.6% C 0.178 H 348.7°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#C0418A
RGBrgb(192, 65, 138)
HSLhsl(326, 50%, 50%)
HSVhsv(326, 66%, 75%)
CMYKcmyk(0%, 66.1%, 28.1%, 24.7%)
CIE-LABlab(48.04, 57.52, -13.35)
CIE-LCHlch(48.04, 59.05, 346.93°)
OKLaboklab(57.55% 0.1747 -0.035)
OKLCHoklch(57.55% 0.178 348.7)
XYZxyz(28.2172, 16.8250, 25.8014)
Luminance0.1682 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C0418A #41C077
analogous
#B741C0 #C0418A #C0414A
triadic
#C0418A #8AC041 #418AC0
tetradic
#C0418A #C0B741 #41C077 #414AC0
square
#C0418A #C0B741 #41C077 #414AC0
split-complementary
#C0418A #4AC041 #41C0B7
monochromatic
#652248 #933169 #C0418A #CF6FA6 #DE9DC3

Accessibility & contrast

On white

4.81
#C0418A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #C0418A
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C0418A#FFFFFF#000000##FFFFFF
##C0418A1.004.814.364.81
#FFFFFF4.811.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52648C
Deuteranopia (green-blind)
#767A87
Tritanopia (blue-blind)
#CD3C60
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #c0418a;
/* rgb */ color: rgb(192, 65, 138);
/* oklch */ color: oklch(57.6% 0.178 348.7);
Tailwind
colors: {
  custom: {
    50: '#d77eac',
    500: '#c0418a',
    950: '#000000',
  },
}
SCSS
$custom: #c0418a;
$custom-light: #d77eac;
$custom-dark: #000000;
JSON
{
  "hex": "#c0418a",
  "rgb": {
    "r": 192,
    "g": 65,
    "b": 138
  },
  "hsl": {
    "h": 325.512,
    "s": 50.198,
    "l": 50.392
  },
  "oklch": {
    "l": 0.57552,
    "c": 0.17814,
    "h": 348.7
  },
  "luminance": 0.16822
}

Semantic roles & 50–950 ramp

primary
#C0418A
secondary
#92CBAA
accent
#DA894E
background
#FDF8FA
surface
#FBEFF4
border
#D4CACE
text
#150B10
muted
#837C7F

Preview Lab

Preview with #C0418A

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

Preview Lab → · Contrast checker → · Palette generator →

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